Add new button to index page.

This commit is contained in:
BoHung Chiu 2021-06-11 12:24:41 +08:00
parent 248b7e818a
commit 0d6b3a472b
1 changed files with 2 additions and 1 deletions

View File

@ -28,6 +28,7 @@
</table> </table>
<%= <%=
content_tag :div, class: "bottomnav clearfix" do content_tag :div, class: "bottomnav clearfix" do
content_tag :div, paginate(@links), class: "pagination pagination-centered" content_tag(:div, paginate(@links), class: "pagination pagination-centered") +
content_tag(:div, link_to(t(:new_),new_admin_web_resource_path, :class=>"btn btn-primary"), class: "pull-right")
end end
%> %>