<%= role_filter.key %> |
<% if @types.is_localized?(:title) %>
<% @site_valid_locales.each_with_index do |locale, i| %>
<%= role_filter.title_translations[locale] rescue nil %>
<% if i == 0 %>
- <%= link_to t(:edit), polymorphic_path([:admin, role_filter], {:action => :edit}), :class=>"open-slide" %>
<% end %>
|
<% end %>
<% else %>
<%= role_filter.title %> |
<% end %>
<%#= link_to role_filter.disable ? t(:disable) : t(:enable), polymorphic_path([:admin, role_filter]), :confirm => t('sure?'), :method => :delete, :remote => true,:class=>"btn btn-mini btn-success", :type=>"button" %>
<%= link_to (check_box_tag 'accept', false , :class => 'toggle-check', :data=>{:deploy=>"right"}) , eval("admin_#{@app_type == 'role_statuses' ? 'role_status' : @app_type }_toggle_path(role_filter)"), method: :post, remote: true, class: "switch" %>
|