{% extends "base.html" %} {% block title %}Search{% endblock %} {% block content %}

Search Plants

{{ form.hidden_tag() }}
{{ form.query.label(class="form-label") }} {{ form.query(class="form-control", placeholder="Enter search term…") }} {% if form.query.errors %}
{{ form.query.errors[0] }}
{% endif %}
{{ form.tags.label(class="form-label") }} {{ form.tags(class="form-select", multiple=true) }} {% if form.tags.errors %}
{{ form.tags.errors[0] }}
{% endif %}

{% if results %} {% elif request.method == 'POST' %}

No results found.

{% endif %}