{% extends "forms/base.html" %}
{% load pagination_tags %}
{% load forms_tags %}
{% load i18n %}

{% block title %}{{ block.super }} Search{% endblock %}

{% block extra_head %}
{{ block.super }}
<link rel="stylesheet" href="{{ STATIC_URL }}css/forms-builder.css">
{% endblock %}

{% block body %}
<div class="t">
 {% forms_nav request.user %}
    <h1>{% firstof MODULE_FORMS_LABEL 'Forms' %} Search</h1>
	 
	{% forms_search %}
    {% autopaginate forms 10 %}
	
	<div class="forms-builder-wrap">
    {% for form in forms %}
		<div class="form-builder-wrap">
            <div class="quick-options">
			{% forms_options request.user form %}
		    </div>
			<h3><a href="{{ form.get_absolute_url }}">{{ form.title }}</a></h3>
		</div>
	{% empty %}
		<div>{% trans "0 Results Found" %}</div>
    {% endfor %}
	</div>

    {% paginate %}
</div>
{% endblock %}
