Add new button to index page.

This commit is contained in:
BoHung Chiu 2021-06-11 12:21:02 +08:00
parent 216afcec0d
commit 93168486f7
1 changed files with 2 additions and 1 deletions

View File

@ -50,6 +50,7 @@
<%=
content_tag :div, class: "bottomnav clearfix" do
content_tag :div, paginate(@archives), class: "pagination pagination-centered"
content_tag(:div, paginate(@archives), class: "pagination pagination-centered") +
content_tag(:div, link_to(t(:new_),new_admin_archive_file_path, :class=>"btn btn-primary"), class: "pull-right")
end
%>