<% add_decidim_meta_tags( title: translated_attribute(project.title), description: translated_attribute(project.description) ) %> <% edit_link( resource_locator([project.budget, project]).edit, :update, :project, project: project ) %> <%= render partial: "exit_modal" %> <%= cell("decidim/budgets/limit_announcement", budget) %>
<% unless voting_finished? %> <%= render partial: "budget_summary", locals: { include_heading: false } %> <% end %>
<%= link_to resource_locator(budget).path(filter_link_params), class: "muted-link" do %> <%= icon "chevron-left", class: "icon--small", role: "img", "aria-hidden": true %> <%= t(".view_all_projects") %> <% end %>

<%= translated_attribute project.title %>

<%= t(".budget") %> <%= budget_to_currency project.budget_amount %>
<%= cell("decidim/budgets/project_votes_count", project, layout: :one_line, class: "display-block") %> <% if voting_finished? %> <%= cell("decidim/budgets/project_voted_hint", project, class: "display-block") %> <% elsif voting_open? %> <%= render partial: "project_budget_button", locals: { project: project } %> <% end %> <%= render partial: "decidim/shared/follow_button", locals: { followable: project, large: false } %>
<%= resource_reference(project) %> <%= render partial: "decidim/shared/share_modal" %>
<%= cell("decidim/budgets/project_selected_status", project, as_label: true) %> <%= decidim_sanitize_editor translated_attribute project.description %> <%= cell "decidim/budgets/project_tags", project, context: { extra_classes: ["tags--project"] } %>
<%= attachments_for project %> <%= linked_resources_for project, :proposals, "included_proposals" %> <%= linked_resources_for project, :results, "included_projects" %>
<%= comments_for project, polymorphic: [project.budget] %> <%= javascript_pack_tag("decidim_budgets") %>