Module: Card::Set::Abstract::CodeFile::HtmlFormat

Extended by:
Card::Set::AbstractFormat
Defined in:
tmpsets/set/mod003-core/abstract/code_file.rb

Instance Method Summary collapse

Instance Method Details

#short_contentObject



73
74
75
76
# File 'tmpsets/set/mod003-core/abstract/code_file.rb', line 73

def short_content
  fa_icon("exclamation-circle", class: "text-muted pr-2") +
    wrap_with(:span, "file", class: "text-muted")
end

#standard_submit_buttonObject



78
79
80
# File 'tmpsets/set/mod003-core/abstract/code_file.rb', line 78

def standard_submit_button
  multi_card_editor? ? super : ""
end