Module: Card::Set::Self::Search::HtmlFormat

Extended by:
AbstractFormat
Defined in:
platypus/tmp/set/gem-defaults/mod009-search/self/search.rb

Instance Method Summary collapse

Instance Method Details

#search_item(term) ⇒ Object



57
58
59
# File 'platypus/tmp/set/gem-defaults/mod009-search/self/search.rb', line 57

def search_item term
  autocomplete_item :search, icon_tag(:search), term
end

#view: coreObject



51
52
53
# File 'platypus/tmp/set/gem-defaults/mod009-search/self/search.rb', line 51

view :core, cache: :never do
  [render_results_for_keyword, super()]
end

#view: results_for_keywordObject



55
# File 'platypus/tmp/set/gem-defaults/mod009-search/self/search.rb', line 55

view :results_for_keyword, cache: :never, template: :haml

#view: search_boxObject



44
# File 'platypus/tmp/set/gem-defaults/mod009-search/self/search.rb', line 44

view :search_box, template: :haml, cache: :never

#view: titleObject



46
47
48
49
# File 'platypus/tmp/set/gem-defaults/mod009-search/self/search.rb', line 46

view :title do
  voo.title ||= t(:search_results_title)
  super()
end