Use moderation layout on specific views
This commit is contained in:
parent
95b501301d
commit
695ce57762
|
@ -1,6 +1,3 @@
|
||||||
- provide(:title, generate_title(t(".title")))
|
|
||||||
|
|
||||||
.container-lg.container--main
|
|
||||||
.card
|
.card
|
||||||
.card-body
|
.card-body
|
||||||
#entries
|
#entries
|
||||||
|
@ -8,3 +5,6 @@
|
||||||
.text-center= t(".empty")
|
.text-center= t(".empty")
|
||||||
- @anonymous_blocks.each do |block|
|
- @anonymous_blocks.each do |block|
|
||||||
= render "shared/anonymous_block", block:
|
= render "shared/anonymous_block", block:
|
||||||
|
|
||||||
|
- provide(:title, generate_title(t(".title")))
|
||||||
|
- parent_layout "moderation"
|
||||||
|
|
|
@ -6,3 +6,5 @@
|
||||||
.d-flex.justify-content-center.justify-content-sm-start#paginator
|
.d-flex.justify-content-center.justify-content-sm-start#paginator
|
||||||
= button_to moderation_reports_path(last_id: @reports_last_id, type: params[:type]), class: "btn btn-light" do
|
= button_to moderation_reports_path(last_id: @reports_last_id, type: params[:type]), class: "btn btn-light" do
|
||||||
= t("voc.load")
|
= t("voc.load")
|
||||||
|
|
||||||
|
- parent_layout "moderation"
|
||||||
|
|
Loading…
Reference in New Issue