Remove unecessary titles in admin area

This commit is contained in:
Dmitriy Zaporozhets 2013-07-15 15:11:34 +03:00
parent 16c3925927
commit 374722030f
2 changed files with 4 additions and 11 deletions

View file

@ -1,9 +1,3 @@
%h3.page-title
Projects
= link_to 'New Project', new_project_path, class: "btn btn-small pull-right"
%hr
.row
.span4
.admin-filter
@ -43,6 +37,8 @@
.ui-box
.title
Projects (#{@projects.total_count})
.pull-right
= link_to 'New Project', new_project_path, class: "btn btn-small btn-primary wide"
%ul.well-list
- @projects.each do |project|
%li

View file

@ -1,8 +1,3 @@
%h3.page-title
Users
= link_to 'New User', new_admin_user_path, class: "btn btn-small pull-right"
%br
.row
.span3
.admin-filter
@ -34,6 +29,8 @@
.ui-box
.title
Users (#{@users.total_count})
.pull-right
= link_to 'New User', new_admin_user_path, class: "btn btn-small wide btn-primary"
%ul.well-list
- @users.each do |user|
%li