Sha256: f9cfc6a48508296a18a3e5750174ee281fbcc48af57310b0a5a56b4a8be2d5cc

Contents?: true

Size: 448 Bytes

Versions: 8

Compression:

Stored size: 448 Bytes

Contents

format :html do
  def quick_edit
    card.left.prototype_default_card.try(:show_content_options?) ? super : ""
  end

  def quick_editor
    wrap_type_formgroup do
      type_field class: "type-field rule-type-field _submit-on-select"
    end +
      wrap_content_formgroup do
        text_field :content, class: "d0-card-content _submit-after-typing"
      end
  end

  def visible_cardtype_groups
    { "Organize" => %w[List Pointer] }
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
card-1.100.0 mod/settings/set/right/content_options.rb
card-1.99.6 mod/settings/set/right/content_options.rb
card-1.99.5 mod/settings/set/right/content_options.rb
card-1.99.4 mod/settings/set/right/content_options.rb
card-1.99.3 mod/settings/set/right/content_options.rb
card-1.99.2 mod/settings/set/right/content_options.rb
card-1.99.1 mod/settings/set/right/content_options.rb
card-1.99.0 mod/settings/set/right/content_options.rb