Revert "form: add number to section headers"
This reverts commit f42977e40a
.
This commit is contained in:
parent
3e1ba4eebc
commit
e3ba2ed96c
3 changed files with 0 additions and 37 deletions
|
@ -2,11 +2,4 @@ class Champs::HeaderSectionChamp < Champ
|
|||
def search_terms
|
||||
# The user cannot enter any information here so it doesn’t 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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue