Add new button to index page.

This commit is contained in:
BoHung Chiu 2021-06-11 11:59:31 +08:00
parent 3bebcaf7b1
commit 8fb10fa211
1 changed files with 2 additions and 1 deletions

View File

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