Reusable Django app for display zurb foundation forms
Install with pip: pip install foundationform
Add 'foundationform',
to INSTALLED_APPS
Simple form:
{% load foundation %}
<h2>Form</h2>
<form method="POST">
{{ form|foundation }}
<button type="submit" class="small button">Submit</button>
</form>
Inline labels:
{% load foundation %}
<h2>Form</h2>
<form method="POST">
{{ form|foundationinline }}
<button type="submit" class="small button">Submit</button>
</form>
Render form fields:
{% load foundation %}
<h2>Form</h2>
<form method="POST">
{{ form.title|foundation }}
{{ form.text|foundationinline }}
<button type="submit" class="small button">Submit</button>
</form>
Install tox and run tox
from the source checkout