Module: Card::Set::Right::ContentOptions::HtmlFormat
- Extended by:
- AbstractFormat
- Defined in:
- platypus/tmp/set/gem-defaults/mod005-list/right/content_options.rb
Instance Method Summary collapse
Instance Method Details
#quick_edit ⇒ Object
16 17 18 |
# File 'platypus/tmp/set/gem-defaults/mod005-list/right/content_options.rb', line 16 def quick_edit card.left.prototype_default_card.try(:show_content_options?) ? super : "" end |
#quick_editor ⇒ Object
20 21 22 23 24 25 26 27 |
# File 'platypus/tmp/set/gem-defaults/mod005-list/right/content_options.rb', line 20 def quick_editor wrap_type_formgroup do type_field class: "type-field rule-type-field _submit-on-select" end + wrap_content_formgroup do text_field :content, class: "d0-card-content _submit-after-typing" end end |
#visible_cardtype_groups ⇒ Object
29 30 31 |
# File 'platypus/tmp/set/gem-defaults/mod005-list/right/content_options.rb', line 29 def visible_cardtype_groups { "Organize" => %w[List Pointer Search] } end |