% 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:
)
%>
<%= append_javascript_pack_tag "decidim_budgets" %>
<%= append_stylesheet_pack_tag "decidim_budgets" %>
<%= render partial: "exit_modal" %>
<%= render partial: "budget_summary", locals: { include_heading: true, project_item: true, responsive: true } %>
<% content_for :item_header do %>
<% unless voting_finished? %>
<%= render partial: "budget_summary", locals: { include_heading: true, project_item: true, responsive: false } %>
<%= render partial: "budget_excess" %>
<%= render partial: "budget_confirm" %>
<% end %>
<% end %>
<%= render layout: "layouts/decidim/shared/layout_item", locals: { back_path: budget_projects_path(budget) } do %>
<%= cell("decidim/budgets/budget_information_modal", budget) %>
<%= cell("decidim/budgets/limit_announcement", budget) %>
<% if component_settings.geocoding_enabled? && project.geocoded? %>
<%= render partial: "decidim/shared/static_map", locals: { icon_name: "projects", geolocalizable: project } %>
<% end %>
<%= cell("decidim/budgets/project_selected_status", project, as_label: true) %>
<%= decidim_sanitize_editor translated_attribute project.title %>
<%= decidim_sanitize_editor_admin translated_attribute project.description %>
<% if tabs.any? %>
<% tabs.each_with_index do |tab, i| %>
-
<% end %>
<% panels.each do |panel| %>
<%= send(panel[:method], *panel[:args]) %>
<% end %>
<% end %>
<%= cell "decidim/comments_button", nil %>
<%= cell "decidim/budgets/project_tags", project %>
<% content_for :aside do %>
<%= t("budget", scope: "decidim.budgets.projects.show") %>
<%= budget_to_currency project.budget_amount %>
<%= render partial: "decidim/shared/follow_button", class: "text-center", locals: { followable: project, large: false } %>
<%= cell "decidim/share_button", nil %>
<% end %>
<% content_for :item_footer do %>
<%= comments_for project, polymorphic: [project.budget] %>
<%= content_tag :li, resource_reference(project), class: "metadata__item" %>
<% end %>
<% end %>