From 3aa4aba268a3655e0ef53f51f191787fe5431325 Mon Sep 17 00:00:00 2001 From: Juliane Waack Date: Mon, 11 Dec 2017 20:17:09 +0100 Subject: [PATCH] add search through Minutes option --- _1327/minutes/forms.py | 4 + _1327/minutes/templates/minutes_list.html | 24 ++-- .../templates/minutes_with_lines_list.html | 14 ++ _1327/minutes/tests.py | 133 ++++++++++++++++++ _1327/minutes/urls.py | 1 + _1327/minutes/views.py | 75 +++++++++- _1327/static/less/1327.less | 3 + 7 files changed, 240 insertions(+), 14 deletions(-) create mode 100644 _1327/minutes/templates/minutes_with_lines_list.html diff --git a/_1327/minutes/forms.py b/_1327/minutes/forms.py index f1b10653..b749f8c2 100644 --- a/_1327/minutes/forms.py +++ b/_1327/minutes/forms.py @@ -49,3 +49,7 @@ class Meta: Guest.Form = GuestForm + + +class SearchForm(forms.Form): + search_phrase = forms.CharField() diff --git a/_1327/minutes/templates/minutes_list.html b/_1327/minutes/templates/minutes_list.html index 540866f0..812e656b 100644 --- a/_1327/minutes/templates/minutes_list.html +++ b/_1327/minutes/templates/minutes_list.html @@ -8,6 +8,10 @@ {% block sidebar %}