Class: ActionAdmin::TitleInput
- Inherits:
-
SimpleForm::Inputs::StringInput
- Object
- SimpleForm::Inputs::StringInput
- ActionAdmin::TitleInput
- Defined in:
- app/inputs/action_admin/title_input.rb
Instance Method Summary collapse
Instance Method Details
#input(wrapper_options) ⇒ Object
3 4 5 6 7 8 9 10 |
# File 'app/inputs/action_admin/title_input.rb', line 3 def input() [:placeholder] ||= raw_label_text [:type] ||= 'text' [:class] ||= [] [:class] += ['large'] super end |
#label(wrapper_options) ⇒ Object
12 13 14 |
# File 'app/inputs/action_admin/title_input.rb', line 12 def label() '' end |