<%= t(".title") %> <%= link_to t("actions.new", scope: "decidim.budgets", name: t("models.project.name", scope: "decidim.budgets.admin")), new_project_path, class: 'button tiny button--title' if can? :manage, current_feature %>

<% projects.each do |project| %> <% end %>
<%= t("models.project.fields.title", scope: "decidim.budgets") %> <%= t("index.confirmed_orders_count") %> <%= t("actions.title", scope: "decidim.budgets") %>
<%= translated_attribute(project.title) %>
<%= project.confirmed_orders_count %> <%= icon_link_to "eye", decidim_budgets.project_path(id: project, feature_id: current_feature, participatory_process_id: current_participatory_process), t("actions.preview", scope: "decidim.budgets"), target: :blank, class: "action-icon--preview" %> <% if can? :update, current_feature %> <%= icon_link_to "pencil", edit_project_path(project), t("actions.edit", scope: "decidim.budgets"), class: "action-icon--edit" %> <% end %> <% if can? :update, current_feature %> <%= icon_link_to "paperclip", project_attachments_path(project), t("actions.attachments", scope: "decidim.budgets"), class: "action-icon--attachments" %> <% end %> <% if can? :destroy, current_feature %> <%= icon_link_to "circle-x", project_path(project), t("actions.destroy", scope: "decidim.budgets"), method: :delete, class: "action-icon--remove", data: { confirm: t("actions.confirm_destroy", scope: "decidim.budgets") } %> <% end %>
<%= paginate projects, theme: "decidim" %>
<%= t ".finished_orders" %>: <%= finished_orders.count %> | <%= t ".pending_orders" %>: <%= pending_orders.count %>