Sha256: 924e6ec41219b781cf420c4837b7853ada9f97f3425bdc95d5bb93503089a660
Contents?: true
Size: 351 Bytes
Versions: 2
Compression:
Stored size: 351 Bytes
Contents
class DateFieldInput < SimpleForm::Inputs::StringInput def input input_html_options[:type] = 'text' template.content_tag(:div, :class => 'input-append date-picker date') do super + template.content_tag(:div, :class => 'add-on') do template.content_tag(:i, '', :class => 'icon-calendar') end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
has_accounts_engine-2.0.1 | app/inputs/date_field_input.rb |
has_accounts_engine-2.0.0 | app/inputs/date_field_input.rb |