Sha256: 656f6e9bf6eb5d74383afa5c8424fc95eaf7c7fd1d7af776466d463a0d7666a0

Contents?: true

Size: 402 Bytes

Versions: 8

Compression:

Stored size: 402 Bytes

Contents

- path = controller.controller_name
- path = "admin/#{path}" if controller.class.to_s.starts_with?("Admin::")

%h4 #{t(:search_assets, t(controller.controller_name + "_small"))}
%div{ :style => "margin: 0px 0px 6px 0px" }
  = text_field_tag('query', @current_query, :size => 23)
  
:javascript
  new Form.Element.Observer('query', 1.5, function(element, value) {
    crm.search(value, '#{path}')
  });

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
fat_free_crm-0.13.2 app/views/shared/_search.html.haml
fat_free_crm-0.12.3 app/views/shared/_search.html.haml
fat_free_crm-0.12.2 app/views/shared/_search.html.haml
fat_free_crm-0.13.1 app/views/shared/_search.html.haml
fat_free_crm-0.12.1 app/views/shared/_search.html.haml
fat_free_crm-0.13.0 app/views/shared/_search.html.haml
fat_free_crm-0.12.0 app/views/shared/_search.html.haml
fat_free_crm-0.11.4 app/views/shared/_search.html.haml