Sha256: 33f066e9cc0b112d1243d9163c917745fc27212207e4c5dc9ab7db24e5b00e24

Contents?: true

Size: 276 Bytes

Versions: 7

Compression:

Stored size: 276 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

7 entries across 7 versions & 1 rubygems

Version Path
card-1.18.6 mod/02_basic_types/set/type/plain_text.rb
card-1.18.5 mod/02_basic_types/set/type/plain_text.rb
card-1.18.4 mod/02_basic_types/set/type/plain_text.rb
card-1.18.3 mod/02_basic_types/set/type/plain_text.rb
card-1.18.2 mod/02_basic_types/set/type/plain_text.rb
card-1.18.1 mod/02_basic_types/set/type/plain_text.rb
card-1.18.0 mod/02_basic_types/set/type/plain_text.rb