Class: Oversee::Field::Input::String
- Inherits:
-
Oversee::Field::Input
- Object
- Phlex::HTML
- Base
- Oversee::Field
- Oversee::Field::Input
- Oversee::Field::Input::String
- Defined in:
- app/components/oversee/field/input/string.rb
Constant Summary
Constants inherited from Oversee::Field::Input
Instance Attribute Summary
Attributes inherited from Oversee::Field
#datatype, #key, #resource, #value
Instance Method Summary collapse
Methods inherited from Oversee::Field
#__FORM__, #__INPUT__, #__LABEL__, #__SET__, #__VALUE__, #field_form_id, #field_id, #field_name, #initialize, #resource_class_name
Constructor Details
This class inherits a constructor from Oversee::Field
Instance Method Details
#view_template ⇒ Object
2 3 4 |
# File 'app/components/oversee/field/input/string.rb', line 2 def view_template input(type: "text", id: field_id, name: field_name, value:, class: "flex border px-4 py-2 text-sm w-full rounded-sm") end |