Class: CaseForm::Element::Button
- Defined in:
- lib/case_form/element/button.rb
Constant Summary
Constants inherited from Base
CaseForm::Element::Base::HTML_OPTIONS
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
-
#generate ⇒ Object
Generate button with defined text and HTML options.
Methods inherited from Base
Methods included from CaseForm::ElementExt::Naming
#object_human_model_name, #sanitized_object_name, #singularize_model_name
Constructor Details
This class inherits a constructor from CaseForm::Element::Base
Instance Method Details
#generate ⇒ Object
Generate button with defined text and HTML options
9 10 11 |
# File 'lib/case_form/element/button.rb', line 9 def generate template.content_tag wrapper_tag, , end |