inlined sectionoverview templates

This commit is contained in:
2022-12-01 15:35:52 +02:00
parent 204ab1abcc
commit e29f2b79e8
13 changed files with 54 additions and 57 deletions

View File

@ -12,5 +12,13 @@ module Merged
Image.image_root
end
#image tag for the preview, passing options through
def section_preview(section , options)
image_tag("merged/section_preview/#{section.template}" , options)
end
def card_preview(section , options)
image_tag("merged/card_preview/#{section.card_template}" , options)
end
end
end