app/views/decidim/accountability/admin/results/index.html.erb in decidim-accountability-0.1.2 vs app/views/decidim/accountability/admin/results/index.html.erb in decidim-accountability-0.7.0

- old
+ new

@@ -1,11 +1,14 @@ <div class="card"> <div class="card-divider"> <h2 class="card-title"> <%= link_to "#{translated_attribute(parent_result.title)} > ", edit_result_path(parent_result) if parent_result %> <%= t(".title") %> - <%= link_to t("actions.new", scope: "decidim.accountability", name: t("models.result.name", scope: "decidim.accountability.admin")), new_result_path(parent_id: parent_result), class: 'button tiny button--title' if can? :manage, current_feature %> - <%= render partial: "decidim/accountability/admin/shared/subnav" unless parent_result %> + <div class="button--title"> + <%= link_to t("actions.new", scope: "decidim.accountability", name: t("models.result.name", scope: "decidim.accountability.admin")), new_result_path(parent_id: parent_result), class: 'button tiny button--simple' if can? :manage, current_feature %> + <%= render partial: "decidim/accountability/admin/shared/subnav" unless parent_result %> + <%= render partial: "decidim/accountability/admin/shared/extra" %> + </div> </h2> </div> <div class="card-section"> <div class="table-scroll">