crispy forms :)

This commit is contained in:
vabene1111
2018-02-01 12:53:41 +01:00
parent 2b3e1a5243
commit a935a2899b
4 changed files with 36 additions and 32 deletions

View File

@@ -1,5 +1,6 @@
{% extends "base.html" %}
{% load django_tables2 %}
{% load crispy_forms_tags %}
{% load i18n %}
{% block title %}{% trans "Cookbook" %}{% endblock %}
@@ -12,7 +13,7 @@
</div>
<div class="card-body">
<form action="" method="get">
{{ filter.form.as_p }}
{% crispy filter.form %}
<input type="submit"/>
</form>
</div>