forked from OpenNeo/impress
first draft of advanced search form
This commit is contained in:
parent
f4c435c3cd
commit
39f5284752
1 changed files with 11 additions and 9 deletions
|
@ -103,15 +103,17 @@
|
||||||
= closet_lists_group_name :you, false
|
= closet_lists_group_name :you, false
|
||||||
#preview-search-form-pagination
|
#preview-search-form-pagination
|
||||||
%a#preview-search-form-clear{:href => "#"}= t '.search.form.clear'
|
%a#preview-search-form-clear{:href => "#"}= t '.search.form.clear'
|
||||||
%dl#preview-search-form-help
|
#preview-search-form-help
|
||||||
%div
|
-# TODO: remove search.examples
|
||||||
%dt= t '.search.examples.basic.query'
|
-# TODO: i18n
|
||||||
%dd= t '.search.examples.basic.description'
|
-# TODO: hook up labels
|
||||||
%div
|
%ul
|
||||||
%dt= t '.search.examples.flags.query'
|
%li
|
||||||
%dd= t '.search.examples.flags.description'
|
%label Item name must contain
|
||||||
%div= search_query 'species', 'species'
|
%input{type: 'text', name: 'name_require'}
|
||||||
%div= search_query 'type', 'occupies'
|
%li
|
||||||
|
%label Item name must not contain
|
||||||
|
%input{type: 'text', name: 'name_exclude'}
|
||||||
#preview-search-form-loading= t '.search.loading'
|
#preview-search-form-loading= t '.search.loading'
|
||||||
#preview-search-form-error.possible-error
|
#preview-search-form-error.possible-error
|
||||||
#preview-search-form-no-results
|
#preview-search-form-no-results
|
||||||
|
|
Loading…
Reference in a new issue