Module: LRD::FormBuilder
- Defined in:
- lib/app/helpers/lrd_form_helper.rb
Overview
f.labeled_input(stuff, :input_type => :hidden)
f.labeled_input(stuff){ f.hidden_field(stuff) }
Instance Method Summary collapse
- #labeled_input(method, options = {}, &block) ⇒ Object
- #unlabeled_submit(text = nil, options = {}) ⇒ Object
Instance Method Details
#labeled_input(method, options = {}, &block) ⇒ Object
156 157 158 |
# File 'lib/app/helpers/lrd_form_helper.rb', line 156 def labeled_input(method, = {}, &block) @template.labeled_input(@object_name, method, (), &block) end |
#unlabeled_submit(text = nil, options = {}) ⇒ Object
159 160 161 |
# File 'lib/app/helpers/lrd_form_helper.rb', line 159 def unlabeled_submit(text = nil, ={}) @template.unlabeled_submit(text, ) end |