Module: Schedulable::FormHelper
- Defined in:
- lib/schedulable/form_helper.rb
Defined Under Namespace
Modules: FormBuilderMethods
Constant Summary collapse
- STYLES =
{ default: { field_html: {class: 'field'}, input_wrapper: {tag: 'div'} }, bootstrap: { field_html: {class: 'field form-group'}, num_field_html: {class: 'form-control'}, date_select_html: {class: 'form-control'}, date_select_wrapper: {tag: 'div', class: 'form-inline'}, collection_select_html: {class: 'form-control'}, collection_check_boxes_item_wrapper: {tag: 'span', class: 'checkbox'} } }
Class Method Summary collapse
Class Method Details
.included(base) ⇒ Object
19 20 21 22 23 |
# File 'lib/schedulable/form_helper.rb', line 19 def self.included(base) ActionView::Helpers::FormBuilder.instance_eval do include FormBuilderMethods end end |