demarches-normaliennes/app/helpers/champ_helper.rb

5 lines
139 B
Ruby

module ChampHelper
def is_not_header_nor_explication?(champ)
!['header_section', 'explication'].include?(champ.type_champ)
end
end