{% extends "front/base.html" %}

{% load static %}
{% load crispy_forms_tags %}

{% block header %}            
{{ form.media  }}
{% endblock %}

{% block top_slide %}
{% endblock %}
{% block content %}
<h1>Search</h1>
<div class='row'>
    <div class="col-md-9">
        <form>
            {% csrf_token %}
            <div class='row'>
                <div class="col-md-4">{{ form.q| as_crispy_field }}</div>
                <div class="col-md-4">{{ form.product_type | as_crispy_field }}</div>
                <div class="col-md-4">{{ form.content_cat | as_crispy_field }}</div>
            </div>
            <br>
            <input type='submit' class='btn btn-primary' value="Search" />
        </form>
        {{ results }}
    </div>
    <div class="col-md-3">
        Recom
    </div>
</div>
{% endblock %}


