1
0
Fork 0
forked from OpenNeo/impress

first draft of advanced search form

This commit is contained in:
Emi Matchu 2014-03-06 16:16:30 -05:00
parent f4c435c3cd
commit 39f5284752

View file

@ -103,15 +103,17 @@
= closet_lists_group_name :you, false
#preview-search-form-pagination
%a#preview-search-form-clear{:href => "#"}= t '.search.form.clear'
%dl#preview-search-form-help
%div
%dt= t '.search.examples.basic.query'
%dd= t '.search.examples.basic.description'
%div
%dt= t '.search.examples.flags.query'
%dd= t '.search.examples.flags.description'
%div= search_query 'species', 'species'
%div= search_query 'type', 'occupies'
#preview-search-form-help
-# TODO: remove search.examples
-# TODO: i18n
-# TODO: hook up labels
%ul
%li
%label Item name must contain
%input{type: 'text', name: 'name_require'}
%li
%label Item name must not contain
%input{type: 'text', name: 'name_exclude'}
#preview-search-form-loading= t '.search.loading'
#preview-search-form-error.possible-error
#preview-search-form-no-results