feat: add plant link to images page
This commit is contained in:
parent
15b2ef3477
commit
18499631ea
4 changed files with 25 additions and 10 deletions
|
|
@ -35,3 +35,7 @@
|
|||
<input type="submit">
|
||||
</form>
|
||||
{% endmacro %}
|
||||
|
||||
{% macro name(plant) %}
|
||||
<a hx-get="/plants/{{ plant.id }}" hx-target="#content" hx-push-url="true">{{ plant.name }} (<em>{{ plant.species }}</em>)</a>
|
||||
{% endmacro %}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue