Module: Card::Set::Abstract::Search::Views::HtmlFormat

Extended by:
Card::Set::AbstractFormat
Defined in:
platypus/tmp/set/gem-defaults/mod009-search/abstract/0_search/views.rb

Instance Method Summary collapse

Instance Method Details

#view: card_listObject



113
114
115
116
117
118
119
120
# File 'platypus/tmp/set/gem-defaults/mod009-search/abstract/0_search/views.rb', line 113

view :card_list, cache: :never do
  klasses = "card-list card-list-#{item_view_options[:view]} search-result-list"
  search_result_list(klasses) do
    search_with_params.map do |item_card|
      card_list_item item_card
    end
  end
end

#view: checkbox_listObject



122
123
124
125
126
127
128
# File 'platypus/tmp/set/gem-defaults/mod009-search/abstract/0_search/views.rb', line 122

view :checkbox_list, cache: :never do
  search_result_list "_search-checkbox-list pe-2" do
    search_with_params.map do |item_card|
      checkbox_item item_card
    end
  end
end

#view: no_search_resultsObject



130
131
132
# File 'platypus/tmp/set/gem-defaults/mod009-search/abstract/0_search/views.rb', line 130

view :no_search_results do
  wrap_with :div, "", class: "search-no-results"
end