app/views/decidim/proposals/admin/participatory_texts/index.html.erb in decidim-proposals-0.28.4 vs app/views/decidim/proposals/admin/participatory_texts/index.html.erb in decidim-proposals-0.29.0.rc1

- old
+ new

@@ -1,6 +1,7 @@ <% add_decidim_page_title(t(".title")) %> +<%= append_stylesheet_pack_tag "participatory_texts_admin" %> <div class="item_show__header"> <h1 class="item_show__header-title"> <%= t(".title") %> <%= render partial: "bulk-actions" %> @@ -12,11 +13,11 @@ <%= decidim_form_for(@preview_form, url: participatory_texts_path, html: { class: "form-defaults form grid-container" }) do |form| %> <div class="form__wrapper"> <div class="card"> <div class="row column"> <p class="mt-3"><%= t(".info_1") %></p> - <ul id="participatory-text" class="draggable-list js-connect js-list-actives accordion mb-m mt-2.5 ml-2.5 mr-2.5" + <ul id="participatory-text" class="draggable-list js-connect js-list-actives mt-2.5 ml-2.5 mr-2.5" data-component="accordion" data-accordion data-sort-url="#" data-multi-expand="true" data-allow-all-closed="true"> @@ -25,10 +26,10 @@ <li class="draggable-content is-active" data-accordion-item draggable="true"> <a data-open="true" data-controls="article-<%= proposal.id %>"> <%= icon "arrow-right-s-line" %> <%= preview_participatory_text_section_title(proposal) %> - <span class="mr-m"><%= icon "menu-line", class: "fill-black" %></span> + <span><%= icon "menu-line", class: "fill-black" %></span> </a> <div data-tab-content id="article-<%= proposal.id %>"> <%= render "article-preview", { form: prop_form, proposal: } %> </div> </li>