Sha256: 5c4ea289bfe695e626b69e7376568ff72a5f5dda4d4c9dd3560c4f472e5ee178

Contents?: true

Size: 275 Bytes

Versions: 5

Compression:

Stored size: 275 Bytes

Contents

format :html do

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

  view :core do |args|
    process_content_object(CGI.escapeHTML _render_raw)
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
card-1.17.4 mod/02_basic_types/set/type/plain_text.rb
card-1.17.3 mod/02_basic_types/set/type/plain_text.rb
card-1.17.2 mod/02_basic_types/set/type/plain_text.rb
card-1.17.1 mod/02_basic_types/set/type/plain_text.rb
card-1.17.0 mod/02_basic_types/set/type/plain_text.rb