Sha256: 2fff23b1c05981db693b65fe653f87babfead0d8632550b9fd2a59296af372f5

Contents?: true

Size: 375 Bytes

Versions: 5

Compression:

Stored size: 375 Bytes

Contents

#suggestion_box
  %h4
    = @title || "Search Results"
    
  %ul.suggestion_search
    - if @suggestions.any?
      - @suggestions.each do |sugg|
        = render :partial => "#{sugg.class.to_s.pluralize.underscore}/suggested", :object => sugg
  
    - else
      %li.error
        = t :no_results
  
    %li.cancel
      = link_to t(:clear_search), '#', :class => "cancel"

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
droom-0.5.3 app/views/droom/shared/_suggestions.html.haml
droom-0.4.3 app/views/droom/shared/_suggestions.html.haml
droom-0.4.2 app/views/droom/shared/_suggestions.html.haml
droom-0.4.1 app/views/droom/shared/_suggestions.html.haml
droom-0.2.1 app/views/droom/shared/_suggestions.html.haml