Class: Forms::Plain::Input

Inherits:
Input
  • Object
show all
Defined in:
lib/forms/plain/input.rb

Overview

Bare semantic . Inherits the binding contract from Forms::Input; positional variants are accepted and ignored.

Instance Method Summary collapse

Instance Method Details

#view_templateObject



8
9
10
# File 'lib/forms/plain/input.rb', line 8

def view_template
  input(type: @type, value: @value.to_s, **unstyled_attributes)
end