Class: JqueryUiForm::FormBuilder

Constant Summary

Constants included from Inputs::SelectInput

Inputs::SelectInput::SELECT_OPTIONS

Instance Attribute Summary collapse

Class Method Summary collapse

Methods included from Inputs::DateInput

#date_input, #datetime_input, #time_input

Methods included from Inputs::RangeInput

#range_input

Methods included from Inputs::NumberInput

#number_input

Methods included from Inputs::SearchInput

#search_input

Methods included from Inputs::UrlInput

#url_input

Methods included from Inputs::PhoneInput

#phone_input

Methods included from Inputs::EmailInput

#email_input

Methods included from Inputs::FileInput

#file_input

Methods included from Inputs::HiddenInput

#hidden_input

Methods included from Inputs::TextInput

#text_input

Methods included from Inputs::CheckBoxesInput

#check_boxes_input, #collection_from_association, #current_values_from_association, #label_from_association, #value_from_association

Methods included from Inputs::RadioInput

#radio_input

Methods included from Inputs::SelectInput

#select, #select_input

Methods included from Inputs::BooleanInput

#boolean_input, #check_box

Methods included from Inputs::PasswordInput

#password_input

Methods included from Inputs::StringInput

#string_input

Methods included from Helpers::ButtonHelper

#button, #cancel, #submit

Methods included from Helpers::LabelHelper

#label, #label_text

Methods included from Helpers::ErrorHelper

#error_message_on, #error_messages_on_base, #has_errors?, #inline_error, #model_errors

Methods included from Helpers::InputHelper

#basic_input_helper, #inline_hint, #input

Methods included from Helpers::WrapperHelper

#buttons, #column, #fieldset, #row, #wrapper

Instance Attribute Details

#autofocusObject

Returns the value of attribute autofocus.



5
6
7
# File 'lib/jquery_ui_form/form_builder.rb', line 5

def autofocus
  @autofocus
end

#templateObject

Returns the value of attribute template.



4
5
6
# File 'lib/jquery_ui_form/form_builder.rb', line 4

def template
  @template
end

Class Method Details

.configure(name, value = nil) ⇒ Object



7
8
9
10
# File 'lib/jquery_ui_form/form_builder.rb', line 7

def self.configure(name, value = nil)
  class_attribute(name)
  self.send(:"#{name}=", value)
end