<%= t(".title") %> <% if feature_settings.official_proposals_enabled %> <%= link_to t("actions.new", scope: "decidim.proposals", name: t("models.proposal.name", scope: "decidim.proposals.admin")), new_proposal_path, class: 'button tiny button--title' if can? :manage, current_feature %> <% end %>

<% proposals.each do |proposal| %> <% end %>
<%= t("models.proposal.fields.title", scope: "decidim.proposals") %> <%= t("models.proposal.fields.category", scope: "decidim.proposals") %> <%= t("models.proposal.fields.scope", scope: "decidim.proposals") %> <%= t("models.proposal.fields.state", scope: "decidim.proposals") %> <%= t("actions.title", scope: "decidim.proposals") %>
<%= proposal.title %>
<% if proposal.category %> <%= translated_attribute proposal.category.name %> <% end %> <% if proposal.scope %> <%= proposal.scope.name %> <% else %> <%= t("decidim.participatory_processes.scopes.global") %> <% end %> <%= humanize_proposal_state proposal.state %> <% if can? :update, proposal %> <%= icon_link_to "chat", edit_proposal_proposal_answer_path(proposal_id: proposal.id, id: proposal.id), t("actions.answer", scope: "decidim.proposals"), class: "action-icon--edit-answer" %> <% end %> <%= icon_link_to "eye", decidim_proposals.proposal_path(id: proposal, feature_id: current_feature, participatory_process_id: current_participatory_process), t("actions.preview", scope: "decidim.proposals.admin"), class: "action-icon--preview", target: :blank %>
<%= paginate proposals, theme: "decidim" %>