merge with august sprint for commission

This commit is contained in:
Yan
2017-08-29 18:44:31 +06:30
26 changed files with 3377 additions and 788 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