app/views/updates/_show_all_modal.html.haml
.modal.fade{:id=>"UpdatesModal", :tabindex=>"-1", :role=>"dialog", "aria-labelledby"=>"UpdatesModalLabel", "aria-hidden"=>"true"}
.modal-dialog
.modal-content
.modal-header
%button{:type=>"button", :class=>"close", "data-dismiss"=>"modal", "aria-hidden"=>"true"}×
%h3{:id=>"UpdatesModal"}
All Updates
.modal-body
#updates
= render :partial => "updates/more"
- unless @last_page
.text-center
= link_to updates_path(page: 2, project_id: @project.try(:id)), id: 'load-more-link', class: 'btn btn-default', remote: true do
%i.fas.fa-chevron-circle-down
Load More Updates
.modal-footer#modal-bottom
%button{:class=>"btn btn-primary", "data-dismiss"=>"modal", "aria-hidden"=>"true"}Close