editable_champs: move the label near the checkbox
This commit is contained in:
parent
43bbbacd59
commit
3ba5d654ba
4 changed files with 28 additions and 6 deletions
|
@ -1,5 +1,6 @@
|
|||
module ChampHelper
|
||||
def is_not_header_nor_explication?(champ)
|
||||
!['header_section', 'explication'].include?(champ.type_champ)
|
||||
def has_label?(champ)
|
||||
types_without_label = ['header_section', 'explication']
|
||||
!types_without_label.include?(champ.type_champ)
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue