From 7fce28790dcc441db99cb2845fd75286fb67ffe0 Mon Sep 17 00:00:00 2001 From: Cervinko Cera Date: Mon, 2 May 2016 23:25:21 +0200 Subject: [PATCH] add search_form.html --- cps/templates/search_form.html | 50 ++++++++++++++++++++++++++++++++++ cps/web.py | 1 - 2 files changed, 50 insertions(+), 1 deletion(-) create mode 100644 cps/templates/search_form.html diff --git a/cps/templates/search_form.html b/cps/templates/search_form.html new file mode 100644 index 00000000..13fbe8bf --- /dev/null +++ b/cps/templates/search_form.html @@ -0,0 +1,50 @@ +{% extends "layout.html" %} +{% block body %} +
+
+
+ + +
+
+ + +
+ +
+
+ {% for tag in tags %} + + {% endfor %} +
+
+ +
+
+{% endblock %} + +{% block js %} + + + +{% endblock %} +{% block header %} + +{% endblock %} diff --git a/cps/web.py b/cps/web.py index 36dc82f6..a77ee5c7 100755 --- a/cps/web.py +++ b/cps/web.py @@ -446,7 +446,6 @@ def search(): @login_required_if_no_ano def advanced_search(): if request.method == 'GET': - print "GETTTTTTTTTTTT" q = db.session.query(db.Books) tag_inputs = request.args.getlist('tag') author_name = request.args.get("author_name")