Class: Shoehorn::Components::FormBuilder
- Inherits:
-
ActionView::Helpers::FormBuilder
- Object
- ActionView::Helpers::FormBuilder
- Shoehorn::Components::FormBuilder
- Defined in:
- lib/shoehorn/components/form_builder.rb
Instance Method Summary collapse
Instance Method Details
#password_field(method, options = {}) ⇒ Object
8 9 10 11 |
# File 'lib/shoehorn/components/form_builder.rb', line 8 def password_field(method, ={}) input_html = super(method, ) Form::InputField.new(object_name, method, input_html, ).to_s end |
#text_field(method, options = {}) ⇒ Object
3 4 5 6 |
# File 'lib/shoehorn/components/form_builder.rb', line 3 def text_field(method, ={}) input_html = super(method, ) Form::InputField.new(object_name, method, input_html, ).to_s end |