replaced helper has_html_label? with inheritance

This commit is contained in:
clemkeirua 2020-03-23 16:50:59 +01:00 committed by GitHub Action
parent 2ecb9cd5a2
commit 6d02e6e9e8
6 changed files with 18 additions and 9 deletions

View file

@ -80,6 +80,10 @@ class Champ < ApplicationRecord
type_de_champ.to_typed_id
end
def html_label?
true
end
private
def needs_dossier_id?