app/views/dedications/_list.html.haml
#filterrific_results
.well.well-small
.pull-right{ :'data-position' => 'bottom', :'data-intro' => 'Reset the filter settings to defaults.' }
= link_to "Reset filters", reset_filterrific_url, :class => 'btn btn-default btn-sm'
.chardin_box{ :'data-position' => 'bottom', :'data-intro' => "will_paginate's entries info works as expected." }
= page_entries_info dedications, :model => 'dedication'
.chardin_box{ :'data-position' => 'bottom', :'data-intro' => 'Spinner indicates update.' }
= render_filterrific_spinner
- dedications.each do |d|
.col-md-4
.panel.panel-info
.panel-heading
%h4= link_to d.donor.first_name + " " + d.donor.last_name, donor_path(Donor.find(d.donor_id)), :method => :get
.panel-body
%p= d.dedication
%p= d.hospital.name
.btn.btn-default.btn-round.btn-sm
%a{:href => dedication_path(d), :method => :get}
See Dedication
.text-center
.pagination
= will_paginate dedications