Module: Card::Set::Right::InputType::HtmlFormat
- Extended by:
- AbstractFormat
- Defined in:
- platypus/tmp/set/gem-defaults/mod011-edit/right/input_type.rb
Instance Method Summary collapse
-
#default_input_type ⇒ Object
-
#default_item_view ⇒ Object
-
#quick_edit ⇒ Object
def option_label_text option_name super.downcase end.
-
#quick_editor ⇒ Object
-
#quick_form_opts ⇒ Object
-
#raw_help_text ⇒ Object
Instance Method Details
#default_input_type ⇒ Object
25 26 27 |
# File 'platypus/tmp/set/gem-defaults/mod011-edit/right/input_type.rb', line 25 def default_input_type :radio end |
#default_item_view ⇒ Object
11 12 13 |
# File 'platypus/tmp/set/gem-defaults/mod011-edit/right/input_type.rb', line 11 def default_item_view :name end |
#quick_edit ⇒ Object
def option_label_text option_name super.downcase end
37 38 39 |
# File 'platypus/tmp/set/gem-defaults/mod011-edit/right/input_type.rb', line 37 def quick_edit card.left.prototype_default_card.try(:show_input_type?) ? super : "" end |
#quick_editor ⇒ Object
15 16 17 18 |
# File 'platypus/tmp/set/gem-defaults/mod011-edit/right/input_type.rb', line 15 def quick_editor @submit_on_change = true super end |
#quick_form_opts ⇒ Object
20 21 22 23 |
# File 'platypus/tmp/set/gem-defaults/mod011-edit/right/input_type.rb', line 20 def quick_form_opts super.merge "data-update-foreign-slot": ".card-slot.quick_edit-view.RIGHT-Xcontent_option_view" end |
#raw_help_text ⇒ Object
29 30 31 |
# File 'platypus/tmp/set/gem-defaults/mod011-edit/right/input_type.rb', line 29 def raw_help_text "edit interface for list cards" end |