<%= t('.filter_by') %> :
<%= form_tag '', method: :get do %> <% end %>

<%= t "decidim.admin.titles.initiatives" %>

<% @initiatives.each do |initiative| %> <% end %>
<%= t('models.initiatives.fields.title', scope: 'decidim.admin') %> <%= t('models.initiatives.fields.state', scope: 'decidim.admin') %> <%= t('models.initiatives.fields.supports_count', scope: 'decidim.admin') %> <%= t('models.initiatives.fields.created_at', scope: 'decidim.admin') %> <%=t '.actions_title' %>
<% if can? :edit, initiative %> <%= link_to partially_translated_attribute(initiative.title), decidim_admin_initiatives.edit_initiative_path(initiative.to_param) %> <% else %> <%= partially_translated_attribute(initiative.title) %> <% end %> <%= humanize_admin_state initiative.state %> <%= initiative.supports_count %>/<%= initiative.scoped_type.supports_required %> <%=l initiative.created_at, format: :short %> <% if can? :preview, initiative %> <%= icon_link_to 'eye', decidim_initiatives.initiative_path(initiative.to_param), t('.preview'), class: 'action-icon--preview', target: '_blank' %> <% end %> <% if can? :edit, initiative %> <%= icon_link_to 'pencil', decidim_admin_initiatives.edit_initiative_path(initiative.to_param), t('actions.configure', scope: 'decidim.admin'), class: 'action-icon--edit' %> <% end %> <% if can? :read, initiative %> <%= icon_link_to 'print', decidim_admin_initiatives.initiative_path(initiative.to_param), t('.print',), class: 'action-icon--print' %> <% end %>
<%= paginate @initiatives, theme: 'decidim' %>