{% set page_title = _("Search") %}

{% extends theme("layout.html") %}
{% block content %}
{% from theme("_macros/form.html") import horizontal_field %}

<div class="page-view">
    <ol class="breadcrumb flaskbb-breadcrumb bg-light">
        <li class="breadcrumb-item"><a href="{{ url_for('forum.index') }}">{% trans %}Forum{% endtrans %}</a></li>
        <li class="breadcrumb-item active">{% trans %}Search{% endtrans %}</li>
    </ol>

    <div class="card page">
        <div class="card-header page-header">
            {% trans %}Search{% endtrans %}
        </div>
        <div class="card-body page-body">
            <form class="form-horizontal" role="form" method="post">
                {{ form.hidden_tag() }}
                {{ horizontal_field(form.search_types)}}
                {{ horizontal_field(form.search_query)}}
                {{ horizontal_field(form.submit, div_class="offset-3 col-4") }}
            </form>
        </div>
    </div>
</div>
{% endblock %}
