Class: ExpressTemplates::Components::Forms::Submit
- Inherits:
-
FormComponent
- Object
- Arbre::Component
- Base
- Configurable
- FormComponent
- ExpressTemplates::Components::Forms::Submit
- Defined in:
- lib/express_templates/components/forms/submit.rb
Constant Summary
Constants inherited from Base
Instance Attribute Summary
Attributes inherited from FormComponent
Instance Method Summary collapse
Methods inherited from FormComponent
#field_helper_options, #field_id_attribute, #field_name, #field_name_attribute, #field_value, #label_name, #label_text, #parent_form, #resource, #resource_class
Methods included from Capabilities::Configurable
Methods inherited from Base
abstract_component, abstract_component?, before_build, #build, builder_method, builder_method_and_class, contains, descendants, has_attributes, inherited, #initialize, require_parent, required_parent, tag
Constructor Details
This class inherits a constructor from ExpressTemplates::Components::Base
Instance Method Details
#resource_name ⇒ Object
19 20 21 |
# File 'lib/express_templates/components/forms/submit.rb', line 19 def resource_name parent_form ? super : nil end |
#value ⇒ Object
23 24 25 |
# File 'lib/express_templates/components/forms/submit.rb', line 23 def value config[:value] end |