Sha256: 48627fffa6a2870f69262bcb779f1ed277796f79f3d706d4d7f64e83affcd720

Contents?: true

Size: 334 Bytes

Versions: 14

Compression:

Stored size: 334 Bytes

Contents

def clean_html?
  false
end

def diff_args
 {format: :raw}
end

format do
  view :closed_content do |args|
    ''
  end

  def chunk_list
    :references
  end
end


format :html do
  view :editor do |args|
    text_area :content, rows: 5, class: 'card-content ace-editor-textarea', "data-card-type-code"=>card.type_code
  end
end



Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
card-1.17.4 mod/02_basic_types/set/type/html.rb
card-1.17.3 mod/02_basic_types/set/type/html.rb
card-1.17.2 mod/02_basic_types/set/type/html.rb
card-1.17.1 mod/02_basic_types/set/type/html.rb
card-1.17.0 mod/02_basic_types/set/type/html.rb
card-1.16.15 mod/02_basic_types/set/type/html.rb
card-1.16.14 mod/02_basic_types/set/type/html.rb
card-1.16.13 mod/02_basic_types/set/type/html.rb
card-1.16.12 mod/02_basic_types/set/type/html.rb
card-1.16.11 mod/02_basic_types/set/type/html.rb
card-1.16.10 mod/02_basic_types/set/type/html.rb
card-1.16.9 mod/02_basic_types/set/type/html.rb
card-1.16.8 mod/02_basic_types/set/type/html.rb
card-1.16.7 mod/02_basic_types/set/type/html.rb