app/views/admin/roles/index.haml in the_role-1.4.1 vs app/views/admin/roles/index.haml in the_role-1.5.0

- old
+ new

@@ -1,9 +1,15 @@ -%h3= t('.list') -%ul.index - - @roles.each do |role| - %li - %p - = link_to role.title, edit_admin_role_url(role) - = link_to t('.delete') + role.title , admin_role_url(role), :method => :delete, :class => :delete +- content_for :css do + = stylesheet_link_tag 'the_role/style' + = stylesheet_link_tag 'the_role/headers' + = stylesheet_link_tag 'the_role/form' -%p= link_to t('.new'), new_admin_role_path +.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