Sha256: 86bedd125b9a2becf93fe8751b33d96260d06fdc1344ace200b1086aae8068b2

Contents?: true

Size: 550 Bytes

Versions: 17

Compression:

Stored size: 550 Bytes

Contents

def default_limit
  cql_limit = fetch_query.limit if respond_to?(:fetch_query)
  cql_limit || 50
end

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

17 entries across 17 versions & 1 rubygems

Version Path
card-mod-list-0.14.2 set/right/content_options.rb
card-mod-list-0.14.1 set/right/content_options.rb
card-mod-list-0.14.0 set/right/content_options.rb
card-mod-list-0.13.4 set/right/content_options.rb
card-mod-list-0.13.3 set/right/content_options.rb
card-mod-list-0.13.2 set/right/content_options.rb
card-mod-list-0.13.1 set/right/content_options.rb
card-mod-list-0.13.0 set/right/content_options.rb
card-mod-list-0.11.7 set/right/content_options.rb
card-mod-list-0.12.0 set/right/content_options.rb
card-mod-list-0.11.6 set/right/content_options.rb
card-mod-list-0.11.5 set/right/content_options.rb
card-mod-list-0.11.4 set/right/content_options.rb
card-mod-list-0.11.3 set/right/content_options.rb
card-mod-list-0.11.2 set/right/content_options.rb
card-mod-list-0.11.1 set/right/content_options.rb
card-mod-list-0.11.0 set/right/content_options.rb