Revert "form: add number to section headers"

This reverts commit f42977e40a.
This commit is contained in:
Pierre de La Morinerie 2020-02-12 13:54:44 +01:00
parent 3e1ba4eebc
commit e3ba2ed96c
3 changed files with 0 additions and 37 deletions

View file

@ -2,11 +2,4 @@ class Champs::HeaderSectionChamp < Champ
def search_terms
# The user cannot enter any information here so it doesnt make much sense to search
end
def section_index
dossier
.champs
.filter { |c| c.type_champ == TypeDeChamp.type_champs.fetch(:header_section) }
.index(self) + 1
end
end