app/views/decidim/proposals/proposals/edit.html.erb in decidim-proposals-0.23.6 vs app/views/decidim/proposals/proposals/edit.html.erb in decidim-proposals-0.24.0.rc1
- old
+ new
@@ -11,12 +11,10 @@
</div>
<div class="row">
<div class="columns large-6 medium-centered">
<div class="card">
- <% if translated_attribute(component_settings.new_proposal_help_text).present? %>
- <%= render partial: "decidim/shared/announcement", locals: { announcement: component_settings.new_proposal_help_text } %>
- <% end %>
+ <%= cell("decidim/announcement", component_settings.new_proposal_help_text) %>
<div class="card__content">
<%= decidim_form_for(@form) do |form| %>
<%= render partial: "edit_form_fields", locals: { form: form } %>