replaced helper has_html_label? with inheritance
This commit is contained in:
parent
2ecb9cd5a2
commit
6d02e6e9e8
6 changed files with 18 additions and 9 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue