Sha256: 8374fa788b73fe755da2987d402310ffd14ab059a66493434f09d5fc1d623642

Contents?: true

Size: 235 Bytes

Versions: 7

Compression:

Stored size: 235 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.16.6 mod/02_basic_types/set/type/plain_text.rb
card-1.16.5 mod/02_basic_types/set/type/plain_text.rb
card-1.16.4 mod/02_basic_types/set/type/plain_text.rb
card-1.16.3 mod/02_basic_types/set/type/plain_text.rb
card-1.16.2 mod/02_basic_types/set/type/plain_text.rb
card-1.16.1 mod/02_basic_types/set/type/plain_text.rb
card-1.16.0 mod/02_basic_types/set/type/plain_text.rb