feat: use card form for search

This commit is contained in:
moanos [he/him] 2024-08-06 16:19:51 +02:00
parent 3883ca2f99
commit 619783663f
2 changed files with 12 additions and 3 deletions

View File

@ -115,7 +115,6 @@ select, .button {
border: none;
border-radius: 4px;
opacity: 1;
background-color: var(--secondary-light-one);
}
.header-right select.option {
@ -550,4 +549,14 @@ textarea {
.info {
border: rgba(17, 58, 224, 0.51) 4px solid;
}
.form-search {
select, input {
background-color: var(--primary-light-one);
color: var(--text-one);
border-radius: 3px;
border: none;
}
}

View File

@ -2,12 +2,12 @@
{% load i18n %}
{% block content %}
<form method="post">
<form class="form-search card" method="post">
{% csrf_token %}
<input type="hidden" name="longitude" maxlength="200" id="longitude">
<input type="hidden" name="latitude" maxlength="200" id="latitude">
{{ search_form.as_p }}
<input class="btn2" type="submit" value="Search" name="search">
<input class="btn" type="submit" value="Search" name="search">
</form>
{% include "fellchensammlung/lists/list-adoption-notices.html" %}
{% endblock %}