Search by properties
This commit is contained in:
@@ -18,10 +18,16 @@
|
||||
<ul class="flex flex-wrap text-sm
|
||||
py-2 px-4">
|
||||
{% for property in tema.properties %}
|
||||
<div class="bg-beige text-white rounded
|
||||
m-1 px-2">
|
||||
<button class="bg-beige text-white rounded
|
||||
m-1 px-2"
|
||||
hx-get="/api/content/temes"
|
||||
hx-target="#content"
|
||||
hx-include="[name=query]"
|
||||
hx-vars="properties:{{ add_property_str(property.value) }}"
|
||||
hx-swap="innerHTML"
|
||||
>
|
||||
{{ property.value }}
|
||||
</div>
|
||||
</button>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
{% endif %}
|
||||
|
||||
Reference in New Issue
Block a user