Use moderation layout on specific views
This commit is contained in:
parent
95b501301d
commit
695ce57762
|
@ -1,10 +1,10 @@
|
|||
- provide(:title, generate_title(t(".title")))
|
||||
.card
|
||||
.card-body
|
||||
#entries
|
||||
- if @anonymous_blocks.empty?
|
||||
.text-center= t(".empty")
|
||||
- @anonymous_blocks.each do |block|
|
||||
= render "shared/anonymous_block", block:
|
||||
|
||||
.container-lg.container--main
|
||||
.card
|
||||
.card-body
|
||||
#entries
|
||||
- if @anonymous_blocks.empty?
|
||||
.text-center= t(".empty")
|
||||
- @anonymous_blocks.each do |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
|
||||
= button_to moderation_reports_path(last_id: @reports_last_id, type: params[:type]), class: "btn btn-light" do
|
||||
= t("voc.load")
|
||||
|
||||
- parent_layout "moderation"
|
||||
|
|
Loading…
Reference in New Issue