Sha256: c591eabe6dca5857b58873f23e8a1f420440cd73d5d0a06ff0c412f6e5acd10e
Contents?: true
Size: 1.46 KB
Versions: 8
Compression:
Stored size: 1.46 KB
Contents
# -*- encoding : utf-8 -*- class Card; module Set; class All; module Bridge; # Set: All cards (Bridge, TabViews) # module TabViews; extend Card::Set def self.source_location; "/Users/ethan/dev/decko/gem/card-mod-edit/set/all/bridge/tab_views.rb"; end module HtmlFormat; module_parent.send :register_set_format, Card::Format::HtmlFormat, self; extend Card::Set::AbstractFormat view :engage_tab, wrap: { div: { class: "m-3 mt-4 _engage-tab" } }, cache: :never do [render_follow_section, discussion_section].compact end view :history_tab, wrap: :slot do class_up "d0-card-body", "history-slot" voo.hide :act_legend acts_bridge_layout card.history_acts end view :related_tab do bridge_pill_sections "Related" do %w[name content type].map do |section_name| ["by #{section_name}", send("related_by_#{section_name}_items")] end end end view :rules_tab, unknown: true do class_up "card-slot", "flex-column" wrap do nest current_set_card, view: :bridge_rules_tab end end view :follow_section, wrap: :slot, cache: :never do follow_section end view :guide_tab, unknown: true do render_guide end def discussion_section return unless show_discussion? field_nest(:discussion, view: :titled, title: "Discussion", show: :comment_box, hide: [:menu]) end end end;end;end;end;end; # ~~ generated from /Users/ethan/dev/decko/gem/card-mod-edit/set/all/bridge/tab_views.rb ~~
Version data entries
8 entries across 8 versions & 1 rubygems