Add new button to index page.

This commit is contained in:
BoHung Chiu 2021-06-11 12:15:59 +08:00
parent 474ab7d2e3
commit 4e3898a5d2
1 changed files with 2 additions and 1 deletions

View File

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