Class: ExpressTemplates::Components::FormFor
- Defined in:
- lib/express_templates/components/form_for.rb
Overview
Create an html form
for a model object.
Example:
“‘ruby form_for(:people) do |t|
t.text_field :name
t.email_field :email
t.phone_field :phone
end “‘
Instance Attribute Summary
Attributes inherited from Expander
Method Summary
Methods included from Capabilities::Parenting
Methods inherited from Base
Methods included from Capabilities::Iterating
Methods included from Capabilities::Wrapping
Methods included from Capabilities::Rendering
Methods included from Capabilities::Templating
Methods included from Macro
Methods inherited from Expander
#expand, #initialize, #initialize_expander, #method_missing, #process_children!, register_macros_for
Constructor Details
This class inherits a constructor from ExpressTemplates::Expander
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class ExpressTemplates::Expander