app/views/admin/roles/index.haml in the_role-1.5.1 vs app/views/admin/roles/index.haml in the_role-1.6.0
- old
+ new
@@ -1,15 +1,2 @@
-- content_for :css do
- = stylesheet_link_tag 'the_role/style'
- = stylesheet_link_tag 'the_role/headers'
- = stylesheet_link_tag 'the_role/form'
-
-.the_role
- %h3= t('.list')
- %ul.index
- - @roles.each do |role|
- %li
- %p
- = link_to role.title, edit_admin_role_url(role)
- = link_to t('.delete'), admin_role_url(role), :method => :delete, :title => role.title, :confirm => t('the_role.delete_role'), :class => :delete
-
- %p= link_to t('.new'), new_admin_role_path
+= render :partial => 'sidebar'
+= render :partial => 'role', :locals => { :role => @roles.first }
\ No newline at end of file