cirandas.net

ref: master

app/views/organizations/_results.html.erb


<% @collection.each do |p| %> <% end %>
<%= _('Profile') %> <%= _('Actions') %> <%= _('Type') %> <%= select_tag(:type, options_for_select(@types_filter, @type)) %>
<%= link_to_profile p.short_name, p.identifier, :title => p.name %>
<% if p.visible %> <%= button_without_text :'deactivate-user', _('Deactivate'), {:action => 'deactivate', :id => p.id}, :class => 'action', data: {confirm: _("Do you want to deactivate this organization?")} %> <% else %> <%= button_without_text :'activate-user', _('Activate'), {:action => 'activate', :id => p.id}, :class => 'action', data: {confirm: _("Do you want to activate this organization?")} %> <% end %> <%= button_without_text :'delete', _('Remove'), {:action => 'destroy', :id => p.id}, :class => 'action', 'data-method' => :post, data: {confirm: _("Do you want to destroy this organization?")} %>
<%= @types_hash[p.type] %>
<%= pagination_links @collection, {:param_name => 'npage', :page_links => true} %>