<% add_decidim_page_title(paragraph_wizard_step_title(action_name)) %>
<%= render partial: "wizard_aside" %>
<%= render partial: "wizard_header", locals: { callout_help_text_class: "warning" } %>

<%= present(@paragraph).title(links: true, html_escape: true) %>

<% unless component_settings.participatory_texts_enabled? %> <%= cell("decidim/coauthorships", @paragraph, has_actions: false, size: 3, context: { current_user: current_user }) %> <% end %> <%= render_paragraph_body(@paragraph) %>
<%= cell "decidim/enhanced_textwork/paragraph_tags", @paragraph %>
<% if component_settings.geocoding_enabled? %> <% if has_position?(@paragraph) %>

<%= t("decidim.application.geocoding.geocoded_address") %>

<%= render partial: "decidim/shared/static_map", locals: { icon_name: "paragraphs", geolocalizable: @paragraph } %>
<% end %> <% end %>
<%= attachments_for @paragraph %>
<%= link_to t(".modify"), edit_draft_paragraph_path(@paragraph) %> <%= button_to t(".publish"), publish_paragraph_path(@paragraph), method: :post, class: "button button--nomargin small" %>