Skip to content
This repository has been archived by the owner on May 18, 2021. It is now read-only.

Commit

Permalink
duplication add button in admin panel
Browse files Browse the repository at this point in the history
  • Loading branch information
PanfilovDenis committed Feb 21, 2013
1 parent b4360dc commit 64c9214
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
3 changes: 3 additions & 0 deletions app/views/web/admin/news/index.html.haml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
.page-header
%h1=t '.title'

= link_to t('.new'), new_admin_news_path, :class => 'btn btn-primary'

%table.table.table-striped
%thead
%tr
Expand Down
3 changes: 3 additions & 0 deletions app/views/web/admin/pages/index.html.haml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
.page-header
%h1=t '.title'

= link_to t('.new'), new_admin_page_path, :class => 'btn btn-primary'

%table.table.table-striped
%thead
%tr
Expand Down
2 changes: 2 additions & 0 deletions app/views/web/admin/users/index.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
= f.submit t(".search"), :class => 'btn btn-primary'
%br
%br

= link_to t('.new_user'), new_admin_user_path, :class => 'btn btn-primary'

= paginate @users
%table.table.table-striped
Expand Down

0 comments on commit 64c9214

Please sign in to comment.