% add_decidim_meta_tags({
description: translated_attribute(debate.description),
title: translated_attribute(debate.title),
url: debate_url(debate.id)
}) %>
<%
edit_link(
resource_locator(debate).edit,
:update,
:debate,
debate: debate
)
%>
<%== translated_attribute debate.title %>
<%= cell "decidim/author", Decidim::Debates::DebatePresenter.new(debate).author, context: { extra_classes: ["author-data--small"] } %>
<%= resource_reference(debate) %>
<%= render partial: "share", locals: { debate: debate } %>
<%= simple_format(translated_attribute(debate.description)) %>
<% if translated_attribute(debate.instructions).present? %>
<%= 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 %>
<%= javascript_include_tag "decidim/proposals/social_share" %>
<%= stylesheet_link_tag "decidim/proposals/social_share" %>
<%=
render partial: "decidim/shared/flag_modal", locals: {
reportable: debate,
form: report_form,
url: decidim.report_path(sgid: debate.to_sgid.to_s)
}
%>