demarches-normaliennes/app/helpers/champ_helper.rb
2017-12-15 10:50:58 +01:00

5 lines
139 B
Ruby

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