Erste version
This commit is contained in:
commit
6e7fb8c499
5 changed files with 222 additions and 0 deletions
12
templates/suche.html
Executable file
12
templates/suche.html
Executable file
|
|
@ -0,0 +1,12 @@
|
|||
<form><input name="suche" placeholder="Suche" value="{{anfrage or ""}}"></form>
|
||||
{% if ergebnisse %}
|
||||
<form method="post"><ol>
|
||||
{% for ergebnis in ergebnisse %}
|
||||
<li><button name="id" value={{ergebnis.id}}>{{ ergebnis["display-label"].value }}</button> <ul><li>{{ ergebnis.description.value }}</li></ul></li>
|
||||
{% endfor %}</ol></form>
|
||||
|
||||
{%elif anfrage%}
|
||||
<p>Leider gibt es diesen Eintrag nicht!</p>
|
||||
{%endif%}
|
||||
|
||||
<a href="/">Doch nicht?</a>
|
||||
Loading…
Add table
Add a link
Reference in a new issue