component all the champ
This commit is contained in:
parent
a98aa079e2
commit
a3e8c09e71
121 changed files with 554 additions and 292 deletions
|
@ -0,0 +1,4 @@
|
|||
- parsed_value = @champ.value.present? ? Time.zone.parse(@champ.value) : nil
|
||||
|
||||
.datetime
|
||||
= @form.datetime_select(:value, id: @champ.input_id, aria: { describedby: @champ.describedby_id }, selected: parsed_value, start_year: datetime_start_year(parsed_value), end_year: Date.today.year + 50, minute_step: 5, include_blank: true)
|
Loading…
Add table
Add a link
Reference in a new issue