app/views/decidim/debates/debates/show.html.erb in decidim-debates-0.26.10 vs app/views/decidim/debates/debates/show.html.erb in decidim-debates-0.27.0.rc1
- old
+ new
@@ -106,15 +106,15 @@
<%= cell("decidim/announcement", { title: t(".debate_conclusions_are", date: l(debate.closed_at, format: :decidim_short)), body: simple_format(translated_attribute(debate.conclusions)) }, callout_class: "success") %>
<% end %>
<% if translated_attribute(debate.instructions).present? %>
<div class="callout secondary">
- <%= decidim_sanitize_editor_admin(simple_format(translated_attribute(debate.instructions), {}, sanitize: false)) %>
+ <%= decidim_sanitize_editor(simple_format(translated_attribute(debate.instructions), {}, sanitize: false)) %>
</div>
<% end %>
<% if translated_attribute(debate.information_updates).present? %>
<div class="callout success">
- <%= decidim_sanitize_editor_admin(simple_format(translated_attribute(debate.information_updates), {}, sanitize: false)) %>
+ <%= decidim_sanitize_editor(simple_format(translated_attribute(debate.information_updates), {}, sanitize: false)) %>
</div>
<% end %>
<%= render partial: "decidim/shared/tags", locals: { resource: debate, tags_class_extra: "tags--debate" } %>