demarches-normaliennes/app/models/champs/header_section_champ.rb
2024-08-22 09:26:48 +02:00

11 lines
266 B
Ruby
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# frozen_string_literal: true
class Champs::HeaderSectionChamp < Champ
def search_terms
# The user cannot enter any information here so it doesnt make much sense to search
end
def level
type_de_champ.level_for_revision(dossier.revision)
end
end