Sha256: 51413a75f6d325fd76c54c9ff5c89a12c348a9b73496833d42da6f2da8d9584f
Contents?: true
Size: 1.1 KB
Versions: 1
Compression:
Stored size: 1.1 KB
Contents
# -*- encoding : utf-8 -*- class Card; module Set; class Right # Set: All "+InputType" cards # module InputType; extend Card::Set def self.source_location; "/Users/ezl5238/dev/decko/gem/mod/edit/set/right/input_type.rb"; end module HtmlFormat; module_parent.send :register_set_format, Card::Format::HtmlFormat, self; extend Card::Set::AbstractFormat def quick_editor @submit_on_change = true super end def quick_form_opts super.merge "data-update-foreign-slot": ".card-slot.quick_edit-view.RIGHT-Xcontent_option_view" end def default_input_type :radio end def raw_help_text "edit interface for list cards" end # def option_label_text option_name # super.downcase # end def quick_edit card.left.prototype_default_card.try(:show_input_type?) ? super : "" end end def option_names left.prototype_default_card&.try(:input_type_content_options) || super end def supports_content_option_view? item_name.in? ["checkbox", "radio", "filtered list"] end end;end;end;end; # ~~ generated from /Users/ezl5238/dev/decko/gem/mod/edit/set/right/input_type.rb ~~
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
card-1.102.0 | tmpsets/set/mod011-edit/right/input_type.rb |