Sha256: da5f087a21fc5205f82717407fcfbdff478fd9405c483f38770034596f0683cc
Contents?: true
Size: 917 Bytes
Versions: 8
Compression:
Stored size: 917 Bytes
Contents
include_set Abstract::TemplatedNests format :html do view :one_line_content do raw = _render_raw "#{card.type_name} : #{raw.present? ? raw : '<em>empty</em>'}" end def quick_form_opts super.merge "data-update-foreign-slot": ".card-slot.quick_edit-view.RIGHT-Xinput_type,"\ ".card-slot.quick_edit-view.RIGHT-Xcontent_option"\ ".card-slot.quick_edit-view.RIGHT-Xcontent_option_view" end 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 def visible_cardtype_groups hash = ::Card::Set::Self::Cardtype::GROUP.slice("Text", "Data", "Upload") hash["Organize"] = ["List", "Pointer", "Link list"] hash end end def empty_ok? true end
Version data entries
8 entries across 8 versions & 1 rubygems