% add_decidim_meta_tags({
description: translated_attribute(debate.description),
title: present(debate).title,
url: debate_url(debate.id)
}) %>
<%
edit_link(
resource_locator(debate).edit,
:update,
:debate,
debate: debate
)
%>
<%= link_to :debates, class: "small hollow" do %>
<%= icon "chevron-left", class: "icon--small", role: "img", "aria-hidden": true %>
<%= t(".back") %>
<% end %>
<%== present(debate).title %>
<%= cell "decidim/author", Decidim::Debates::DebatePresenter.new(debate).author, context: { extra_classes: ["author-data--small"] } %>
<%= resource_reference(debate) %>
<%= render partial: "decidim/shared/share_modal" %>
<%= render_debate_description(debate) %>
<% if translated_attribute(debate.instructions).present? %>
<%= decidim_sanitize(simple_format(translated_attribute(debate.instructions))) %>
<% end %>
<% if translated_attribute(debate.information_updates).present? %>
<%= simple_format(translated_attribute(debate.information_updates)) %>
<% end %>
<% if debate.category %>
<% end %>
<%= comments_for debate %>
<%=
render partial: "decidim/shared/flag_modal", locals: {
reportable: debate,
form: report_form,
url: decidim.report_path(sgid: debate.to_sgid.to_s)
}
%>