Skip to content

TigorC/django-foundation-form

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

django-foundation-form

Reusable Django app for display zurb foundation forms

Installation

Install with pip: pip install foundationform

Add 'foundationform', to INSTALLED_APPS

Usage

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>

Running the tests

Install tox and run tox from the source checkout

About

Reusable Django app for display zurb foundation forms

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages