Class: KirguduBase::DynamicPages::Form
- Inherits:
-
PageElement
- Object
- Element
- PageElement
- KirguduBase::DynamicPages::Form
- Defined in:
- app/models/kirgudu_base/dynamic_pages/form.rb
Instance Attribute Summary collapse
-
#allow_client_validations ⇒ Object
Returns the value of attribute allow_client_validations.
-
#elements ⇒ Object
Returns the value of attribute elements.
-
#http_method ⇒ Object
Returns the value of attribute http_method.
-
#is_ajax ⇒ Object
Returns the value of attribute is_ajax.
-
#parent ⇒ Object
Returns the value of attribute parent.
-
#properties ⇒ Object
Returns the value of attribute properties.
-
#url ⇒ Object
Returns the value of attribute url.
Attributes inherited from PageElement
#enabled, #html_options, #id, #name, #use_i18n, #visible
Attributes inherited from Element
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ Form
constructor
A new instance of Form.
Methods inherited from PageElement
#i18n_data_as_string, #to_external_hash
Methods inherited from Element
#as_json, #fix_parent_entry, #kontroller_klass, #to_external_hash
Methods included from Models::MergeableElements::ClassMethods
#get_mergeable_attributes, #mergeable_attributes
Methods included from Models::FixableElements::ClassMethods
#fixable_attributes, #get_kb_fixable_attributes
Methods included from Models::FixableElements::InstanceMethods
Methods included from Models::MergeableElements::InstanceMethods
Constructor Details
#initialize(options = {}) ⇒ Form
Returns a new instance of Form.
15 16 17 18 19 20 21 22 23 24 25 26 |
# File 'app/models/kirgudu_base/dynamic_pages/form.rb', line 15 def initialize( = {}) self.url = nil self.http_method = nil self.allow_client_validations = nil self.is_ajax = nil self.properties = nil self.elements = nil self.parent = nil super() end |
Instance Attribute Details
#allow_client_validations ⇒ Object
Returns the value of attribute allow_client_validations.
31 32 33 |
# File 'app/models/kirgudu_base/dynamic_pages/form.rb', line 31 def allow_client_validations @allow_client_validations end |
#elements ⇒ Object
Returns the value of attribute elements.
33 34 35 |
# File 'app/models/kirgudu_base/dynamic_pages/form.rb', line 33 def elements @elements end |
#http_method ⇒ Object
Returns the value of attribute http_method.
29 30 31 |
# File 'app/models/kirgudu_base/dynamic_pages/form.rb', line 29 def http_method @http_method end |
#is_ajax ⇒ Object
Returns the value of attribute is_ajax.
30 31 32 |
# File 'app/models/kirgudu_base/dynamic_pages/form.rb', line 30 def is_ajax @is_ajax end |
#parent ⇒ Object
Returns the value of attribute parent.
34 35 36 |
# File 'app/models/kirgudu_base/dynamic_pages/form.rb', line 34 def parent @parent end |
#properties ⇒ Object
Returns the value of attribute properties.
32 33 34 |
# File 'app/models/kirgudu_base/dynamic_pages/form.rb', line 32 def properties @properties end |
#url ⇒ Object
Returns the value of attribute url.
28 29 30 |
# File 'app/models/kirgudu_base/dynamic_pages/form.rb', line 28 def url @url end |