This repository has been archived on 2021-11-24. You can view files and clone it, but cannot push or open issues or pull requests.
phone_app/app/inputs/qi_time_picker_input.rb
2021-08-23 10:26:02 +02:00

13 lines
308 B
Ruby

class QiTimePickerInput < Formtastic::Inputs::TextInput
include FormtasticBootstrap::Inputs::Base
def to_html
r = rand(1000000000000000000000000000)
bootstrap_wrapping do
builder.text_field(method.to_s, input_html_options.merge!(:class => "timepicker form-control"))
end
end
end