<%= role.title %>
- <%= link_to t(:edit), edit_admin_role_path(role), :class=>"open-slide" %>
- <%= link_to t(:role_field), admin_role_role_field_path(role) %>
- <%= link_to t(:status), admin_role_statuses_path(role_id: role.id) %>
|
<%= check_box_tag 'accept', role.disabled ? 'fasle' : 'true', false ,{ :class => 'toggle-check role_filter_checked', :data=>{:deploy=>"right"}, :data=>{:path=> admin_role_toggle_path(role)}, :checked=> role.disabled} %>
<% if !role.is_built_in? %>
<%= link_to (content_tag :i,'',:class=>'icon-trash')+t(:delete_), admin_role_path(role), :type=>"button", :class => 'btn btn-mini btn-danger', :confirm => t('sure?'), :method => :delete, :remote => true %>
<% end %>
|