<%= _('This role is not being currently used.')%>
<%= _('Are you sure you want to delete this role?') %>
<% button_bar do %> <%= button(:remove, _('Yes, I am sure'), {:action => 'remove', :id => @role.id}, :method => :post) %> <%= button(:cancel, _('No, I gave up'), {:action => 'index'}) %> <% end %> <% else %><%= _('There are members currently using this role.')%>
<%= _('To which role do you want to change them?') %>
<%= labelled_form_for :role, :url => { :action => 'remove', :id => @role.id } do |f| %> <% @roles_list.each do |role| %> <%= check_box_tag("roles[]", role.id, false ,{:id => role.key}) %> <%= content_tag(:label, role.name, { :for => role.key }) %>