DataetimepickerInJuty

This commit is contained in:
yamin
2017-08-29 13:20:32 +06:30
parent 63d97cce26
commit e84c080552
15 changed files with 2973 additions and 17 deletions

View File

@@ -0,0 +1,13 @@
SimpleForm.setup do |config|
config.wrappers :ranged_datetime, tag: 'div', class: 'form-group col-md-6', error_class: 'has-error' do |b|
b.use :html5
b.use :placeholder
b.optional :readonly
b.use :label, class: 'control-label'
b.use :input, class: 'form-control'
b.use :error, wrap_with: { tag: 'span', class: 'help-block' }
b.use :hint, wrap_with: { tag: 'p', class: 'help-block' }
end
end