mirror of
https://github.com/Theodor-Springmann-Stiftung/musenalm.git
synced 2025-12-16 22:25:30 +00:00
Basis Suche Inhalte
This commit is contained in:
21
views/routes/suche/components/_musenalmidbox.gohtml
Normal file
21
views/routes/suche/components/_musenalmidbox.gohtml
Normal file
@@ -0,0 +1,21 @@
|
||||
{{ $p := index . 0 }}
|
||||
{{ $t := index . 1 }}
|
||||
<form
|
||||
id="lookupform"
|
||||
class="w-full font-serif grid grid-cols-12 gap-x-4 mb-4"
|
||||
method="get"
|
||||
action="/suche/{{- $t -}}"
|
||||
autocomplete="off">
|
||||
<label for="almstring" class="col-span-3 align-middle hidden">Almanach-Nummer:</label>
|
||||
<input
|
||||
autocomplete="off"
|
||||
minlength="1"
|
||||
required="true"
|
||||
type="search"
|
||||
name="almstring"
|
||||
id="almstring"
|
||||
value="{{ $p }}"
|
||||
placeholder="Alm-Nummer"
|
||||
class="w-full col-span-3 placeholder:italic" />
|
||||
<button id="submitbutton" type="submit" class="col-span-2">Nachschlagen</button>
|
||||
</form>
|
||||
Reference in New Issue
Block a user