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
-
#search_item(term) ⇒ Object
-
#view: core ⇒ Object
-
#view: results_for_keyword ⇒ Object
-
#view: search_box ⇒ Object
-
#view: title ⇒ Object
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: core ⇒ Object
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_keyword ⇒ Object
55 |
# File 'platypus/tmp/set/gem-defaults/mod009-search/self/search.rb', line 55 view :results_for_keyword, cache: :never, template: :haml |
#view: search_box ⇒ Object
44 |
# File 'platypus/tmp/set/gem-defaults/mod009-search/self/search.rb', line 44 view :search_box, template: :haml, cache: :never |
#view: title ⇒ Object
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 |