diff --git a/app/views/admin/reports/show.html.haml b/app/views/admin/reports/show.html.haml index 7f3ec35a4aa18687ac1d5dd47754d6883f0d914f..af8fce2a7600b80d0400f5d7c404462af6f88cb3 100644 --- a/app/views/admin/reports/show.html.haml +++ b/app/views/admin/reports/show.html.haml @@ -4,7 +4,7 @@ - content_for :page_title do = t('admin.reports.report', id: @report.id) -- content_for :page_heading_actions do +- content_for :heading_actions do - if @report.unresolved? = link_to t('admin.reports.mark_as_resolved'), resolve_admin_report_path(@report), method: :post, class: 'button' - else diff --git a/app/views/filters/index.html.haml b/app/views/filters/index.html.haml index 530ea6f59add77ac013247e192576f2d55c4b7e2..2f7d96f968fe11003a5e671f409d733e6ee4b3ea 100644 --- a/app/views/filters/index.html.haml +++ b/app/views/filters/index.html.haml @@ -1,7 +1,7 @@ - content_for :page_title do = t('filters.index.title') -- content_for :page_heading_actions do +- content_for :heading_actions do = link_to t('filters.new.title'), new_filter_path, class: 'button' - if @filters.count == 0 diff --git a/app/views/layouts/admin.html.haml b/app/views/layouts/admin.html.haml index 059bf8579ddea256aacd58e69f534109dbcfa8ae..d1de2e80f87c0981eaf73f89fcfd149a611d5e15 100644 --- a/app/views/layouts/admin.html.haml +++ b/app/views/layouts/admin.html.haml @@ -24,9 +24,9 @@ .content-heading %h2= yield :page_title - - if :page_heading_actions + - if :heading_actions .content-heading-actions - = yield :page_heading_actions + = yield :heading_actions = render 'application/flashes'