Sha256: 43ca304bb9b4fcbcd36619a9fe63559bb3d322796dd56c2fcf905b168ed9c90d
Contents?: true
Size: 1012 Bytes
Versions: 8
Compression:
Stored size: 1012 Bytes
Contents
# -*- encoding : utf-8 -*- class Card; module Set; class Right # Set: All "+ContentOptions" cards # module ContentOptions; extend Card::Set def self.source_location; "/Users/ethan/dev/decko/gem/card-mod-list/set/right/content_options.rb"; end def default_limit cql_limit = fetch_query.limit if respond_to?(:fetch_query) cql_limit || 50 end module HtmlFormat; module_parent.send :register_set_format, Card::Format::HtmlFormat, self; extend Card::Set::AbstractFormat def quick_edit card.left.prototype_default_card.try(:show_content_options?) ? super : "" 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 { "Organize" => %w[List Pointer] } end end end;end;end;end; # ~~ generated from /Users/ethan/dev/decko/gem/card-mod-list/set/right/content_options.rb ~~
Version data entries
8 entries across 8 versions & 1 rubygems