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

@ -13,6 +13,10 @@ class Champs::DatetimeChamp < Champ
value.present? ? I18n.l(Time.zone.parse(value)) : ""
end
def html_label?
false
end
private
def format_before_save