Padrino::Helpers::FormBuilder::StandardFormBuilder
Class: Padrino::Helpers::FormBuilder::StandardFormBuilder
- Inherits:
- AbstractFormBuilder
- Object
- AbstractFormBuilder
- Padrino::Helpers::FormBuilder::StandardFormBuilder
Instance Attribute Summary
Attributes inherited from AbstractFormBuilder
#attributes_name, #is_nested, #model_name, #multipart, #namespace, #nested_index, #object, #parent_form, #template
Instance Method Summary
-
#field_type ⇒ Object
StandardFormBuilder. -
#image_submit_block(source, options = {}) ⇒ Object
-
#submit_block(caption, options = {}) ⇒ Object
Methods inherited from AbstractFormBuilder
#check_box, #check_box_group, #color_field, #csrf_token_field, #date_field, #datetime_field, #datetime_local_field, #email_field, #error_message_on, #error_messages, #fields_for, #file_field, #hidden_field, #image_submit, #initialize, #label, #month_field, #number_field, #password_field, #radio_button, #radio_button_group, #search_field, #select, #submit, #telephone_field, #text_area, #text_field, #time_field, #url_field, #week_field
Constructor Details
This class inherits a constructor from Padrino::Helpers::FormBuilder::AbstractFormBuilder
Instance Method Details
#field_type ⇒ Object
StandardFormBuilder
text_field_block(:username, { :class => 'long' }, { :class => 'wide-label' }) text_area_block(:summary, { :class => 'long' }, { :class => 'wide-label' }) password_field_block(:password, { :class => 'long' }, { :class => 'wide-label' }) file_field_block(:photo, { :class => 'long' }, { :class => 'wide-label' }) check_box_block(:remember_me, { :class => 'long' }, { :class => 'wide-label' }) select_block(:color, :options => ['green', 'black'])
#image_submit_block(source, options = {}) ⇒ Object
#submit_block(caption, options = {}) ⇒ Object
© 2010–2016 Padrino
Licensed under the MIT License.
http://www.rubydoc.info/github/padrino/padrino-framework/Padrino/Helpers/FormBuilder/StandardFormBuilder