move cards

This commit is contained in:
2023-01-20 19:54:20 +02:00
parent e752c46d96
commit 321f1909c5
8 changed files with 29 additions and 9 deletions

View File

@ -1,5 +1,9 @@
module Merged
module CardsHelper
include ViewHelper #for previews
def card_section_select
Section.where.not(card_template: "").collect{|s| ["#{s.page.name}: #{s.header}" , s.id]}
end
end
end