Skip to main content
# Deform templates in Foundation

This is a python package to replace Deform's default templates with templates designed to use Foundation's nice features
(particularly with forms and form errors).

## Dependencies

1. [Zurb's Foundation 4.x](http://foundation.zurb.com/)
2. [Garlic.js](http://garlicjs.org/)

Garlic.js isn't *necessary* for operation, but it does provide nice functionality for your users by saving the form
state to localStorage in the event they accidentally hit the back button or their browser crashes. It's easy to include
on your site:

<html lang="en">
<head>
<script src="//cdnjs.cloudflare.com/ajax/libs/garlic.js/1.2.0/garlic.min.js"></script>
</head>
<body>
</body>
</html>

## Installation

With your virtualenv activated: `pip install deform-foundation`; this will install the templates. You now need to include
the "sub-app" into your primary load point for Pyramid. I do this inside of my project's `__init__.py` files towards the
bottom:

config.include('deform_foundation')
return config.make_wsgi_app()

## March 25th, 2013

Presently, I've only cleaned up the default form.pt template to remove unnecessary messages when the form is in an
exceptional state and to provide the inter-field form error messages better styled.

All form field error messages use Foundation's form error message styling.

Release files for deform_foundation 0.5.10

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for deform_foundation 0.5.10
File Size Uploaded
deform_foundation-0.5.10.tar.gz 15.9 kB Details

Release files / deform_foundation-0.5.10.tar.gz

Download URL deform_foundation-0.5.10.tar.gz
Size 15.9 kB
Tags Source
SHA-256 checksum
How to use checksums
aa07d5850f2b7929d25d068261787ad08880e05437f087ec4141edae1f10e17d
BLAKE2b-256 checksum
How to use checksums
6135f82a9b864bab6b6b8144c3d05ca7f3a2c5c67e54d6244887dc20609ac7cd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.5.10 This release

1 release file

0.5.9

1 release file

0.5.8

1 release file

0.5.7

1 release file

0.5.6

1 release file

0.5.5

1 release file

0.5.4

1 release file

0.5.3

1 release file

0.5.2

1 release file

0.5.1

1 release file

0.5.0

1 release file

0.4.5

1 release file

0.4.4

1 release file

0.4.3

1 release file

0.4.2

1 release file

0.4.1

1 release file

0.4.0

1 release file

0.3.9

1 release file

0.3.8

1 release file

0.3.7

1 release file

0.3.6

1 release file

0.3.5

1 release file

0.3.4

1 release file

0.3.3

1 release file

0.3.2

1 release file

0.3.1

1 release file

0.3

1 release file

0.2

1 release file

0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page