Aura
Aura
→
Terra
→
Form
→
name_for
name_for
Returns the name for a given field name.
Usage
name_for(string)
Example
root_name 'editor' name_for('email') #=> 'editor[email]'
Terra
›
Form
›
name_for
method
Defined in
/lib/terra/form.rb
View source ›
‹
Aura
‹
module
Terra
‹
class
Form
Methods
configure
field
fieldset
fieldsets
name_for
name_root