feat: Restructure search and add blocks
This commit is contained in:
parent
5f576896b7
commit
d3f7274e92
@ -9,7 +9,8 @@
|
||||
<div class="column">
|
||||
{% include "fellchensammlung/partials/bulma-partial-map.html" %}
|
||||
</div>
|
||||
<form class="column" method="post">
|
||||
<div class="column">
|
||||
<form class="block" method="post">
|
||||
{% csrf_token %}
|
||||
<input type="hidden" name="longitude" maxlength="200" id="longitude">
|
||||
<input type="hidden" name="latitude" maxlength="200" id="latitude">
|
||||
@ -17,7 +18,6 @@
|
||||
<!--- https://docs.djangoproject.com/en/5.2/topics/forms/#reusable-form-templates -->
|
||||
{{ search_form }}
|
||||
<ul id="results"></ul>
|
||||
<div class="container-edit-buttons">
|
||||
<button class="button is-primary" type="submit" value="search" name="search">
|
||||
<i class="fas fa-search"></i> {% trans 'Suchen' %}
|
||||
</button>
|
||||
@ -33,13 +33,16 @@
|
||||
</button>
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
</div>
|
||||
</form>
|
||||
<div class="block">
|
||||
{% if place_not_found %}
|
||||
<p class="error">
|
||||
<div class="block notification is-warning">
|
||||
<p>
|
||||
{% trans 'Ort nicht gefunden' %}
|
||||
</p>
|
||||
</div>
|
||||
{% endif %}
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
{% include "fellchensammlung/lists/bulma-list-adoption-notices.html" %}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user