Class: ExpressTemplates::Components::FormFor

Inherits:
Container show all
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

#handlers, #locals, #stack

Method Summary

Methods included from Capabilities::Parenting

included

Methods inherited from Base

inherited

Methods included from Capabilities::Iterating

included

Methods included from Capabilities::Wrapping

included

Methods included from Capabilities::Rendering

included

Methods included from Capabilities::Templating

included

Methods included from Macro

included

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