start on section edit (without edit)
This commit is contained in:
8
app/views/cms/sections/overview/_button.haml
Normal file
8
app/views/cms/sections/overview/_button.haml
Normal file
@ -0,0 +1,8 @@
|
||||
.p-6
|
||||
%h3.mt-4.text-lg.font-bold= key.upcase
|
||||
%p
|
||||
.font-bold Text
|
||||
= value["text"]
|
||||
%p
|
||||
.font-bold Link
|
||||
= value["link"]
|
0
app/views/cms/sections/overview/_card
Normal file
0
app/views/cms/sections/overview/_card
Normal file
5
app/views/cms/sections/overview/_card_template.haml
Normal file
5
app/views/cms/sections/overview/_card_template.haml
Normal file
@ -0,0 +1,5 @@
|
||||
.p-6
|
||||
%h3.mt-4.text-lg.font-bold= key.upcase
|
||||
%p= value
|
||||
=image_tag("cms/card_preview/#{value}" , class: "w-full object-contain")
|
||||
%p #{section.content['cards'].length} cards
|
0
app/views/cms/sections/overview/_cards.haml
Normal file
0
app/views/cms/sections/overview/_cards.haml
Normal file
3
app/views/cms/sections/overview/_header.haml
Normal file
3
app/views/cms/sections/overview/_header.haml
Normal file
@ -0,0 +1,3 @@
|
||||
.p-6
|
||||
%h3.mt-4.text-lg.font-bold= key.upcase
|
||||
%p= value
|
0
app/views/cms/sections/overview/_id.haml
Normal file
0
app/views/cms/sections/overview/_id.haml
Normal file
3
app/views/cms/sections/overview/_image.haml
Normal file
3
app/views/cms/sections/overview/_image.haml
Normal file
@ -0,0 +1,3 @@
|
||||
.p-6
|
||||
%h3.mt-4.text-lg.font-bold= key.upcase
|
||||
= image_tag "cms/" + value
|
4
app/views/cms/sections/overview/_template.haml
Normal file
4
app/views/cms/sections/overview/_template.haml
Normal file
@ -0,0 +1,4 @@
|
||||
.p-6
|
||||
%h3.mt-4.text-lg.font-bold= key.upcase
|
||||
%p= value
|
||||
=image_tag("cms/section_preview/#{section.template}" , class: "w-full object-contain")
|
3
app/views/cms/sections/overview/_text.haml
Normal file
3
app/views/cms/sections/overview/_text.haml
Normal file
@ -0,0 +1,3 @@
|
||||
.p-6
|
||||
%h3.mt-4.text-lg.font-bold= key.upcase
|
||||
%p= value
|
Reference in New Issue
Block a user