Reusable Django app for display [zurb foundation forms](http://foundation.zurb.com/)
## Installation
Install with pip: `pip install foundationform`
Add `'foundationform',` to INSTALLED_APPS
## Usage
Simple form:
```html
{% load foundation %}
<h2>Form</h2>
<form method="POST">
{{ form|foundation }}
<button type="submit" class="small button">Submit</button>
</form>
```
Inline labels:
```html
{% load foundation %}
<h2>Form</h2>
<form method="POST">
{{ form|foundationinline }}
<button type="submit" class="small button">Submit</button>
</form>
```
Render form fields:
```html
{% 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](http://tox.testrun.org/) and run `tox` from the source checkout
Metadata
Release files for foundationform 0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| foundationform-0.2.tar.gz | 4.8 kB | Without provenance | Details for foundationform-0.2.tar.gz |
Release files / foundationform-0.2.tar.gz
| Download URL | foundationform-0.2.tar.gz |
|---|---|
| Size | 4.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
34848cd4d51927e4471afd80d3cf0f5c584a117a63f92154191e4aecb6d8427a
|
|
BLAKE2b-256 checksum How to use checksums |
e6b124ec101684697d0b1b30f4b04376b844ebc1f31579cb61237232cf9ccbe3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for foundationform 0.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.