Gumby Framework forms for Django using floppy forms. A floppy and gumby project.
Python
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
floppy_gumby_forms
images
.gitignore
.travis.yml
LICENSE
MANIFEST.in
README.md
setup.py
test_settings.py
test_urls.py

README.md

django-floppy-gumby

ScreenShot

Setup

  1. pip install django-floppy-gumby`
  2. Add 'floppy_gumby_forms', to INSTALLED_APPS before floppyforms
  3. Set up django-floppy-forms

Usage

Read up and have a basic understanding of floppyforms first. Note you need to import floppyforms.forms for anything to work. Also note floppy forms requires explicitly stating the widgets in ModelForms.

Use floppy_gumby form templates as desired. For example

{% load floppyforms %}
{% form my_form using "floppy_gumby_forms/layouts/gumby.html" %}

You may also use single rows like this

{% form form %}
{% formconfig row using "floppy_gumby_forms/rows/gumby.html" %}
{% formrow form.prefered_file_format %}
{% endform %}

You may want to extend floppy_forms. If you add features make sure to send a pull request :)

It would also be nice to eventually multiple styles. For example forms with placeholder text instead of labels.