From 39f5284752a086b9092e6a34d4a9c456e686e185 Mon Sep 17 00:00:00 2001 From: Matchu Date: Thu, 6 Mar 2014 16:16:30 -0500 Subject: [PATCH] first draft of advanced search form --- app/views/outfits/edit.html.haml | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/app/views/outfits/edit.html.haml b/app/views/outfits/edit.html.haml index 312e5695..f81948ea 100644 --- a/app/views/outfits/edit.html.haml +++ b/app/views/outfits/edit.html.haml @@ -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