Run rubocop --fix-layout and remove encoding comments
This commit is contained in:
parent
fa63e6e81d
commit
ea2862fdef
283 changed files with 1164 additions and 1969 deletions
|
|
@ -12,12 +12,12 @@ class DatePickerTimeInput < SimpleForm::Inputs::StringInput
|
|||
# In the future, use html5 date&time inputs. This needs modernizr or equiv. to avoid
|
||||
# double widgets, and perhaps conditional css to adjust input width (chrome).
|
||||
value = @builder.object.send attribute_name
|
||||
date_options = {as: :string, class: 'input-small datepicker'}
|
||||
time_options = {as: :string, class: 'input-mini'}
|
||||
date_options = { as: :string, class: 'input-small datepicker' }
|
||||
time_options = { as: :string, class: 'input-mini' }
|
||||
@builder.input_field("#{attribute_name}_date_value", options.merge(date_options)) + ' ' +
|
||||
@builder.input_field("#{attribute_name}_time_value", options.merge(time_options))
|
||||
@builder.input_field("#{attribute_name}_time_value", options.merge(time_options))
|
||||
# time_select requires a date_select
|
||||
#@builder.time_select("#{attribute_name}_time", {ignore_date: true}, input_html_options.merge(time_options))
|
||||
# @builder.time_select("#{attribute_name}_time", {ignore_date: true}, input_html_options.merge(time_options))
|
||||
end
|
||||
|
||||
def label_target
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue