This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description
===============================
Django Molder
===============================

.. image:: https://img.shields.io/travis/zerc/django_molder.svg
:target: https://travis-ci.org/zerc/django_molder

.. image:: https://img.shields.io/pypi/v/django_molder.svg
:target: https://pypi.python.org/pypi/django_molder


Another one painless way to working with forms and they fields

* Free software: BSD license
.. * Documentation: https://django_molder.readthedocs.org.

Features
--------

It provides multiple tags for rendering form fields in a custom template.
Bootstrap3 classes and html as default but you can simple override this for your specification -
just make ``molder`` directory in your templates folder.

Example:
--------

In your template:


.. code:: html

{% loads molder_tags %}

<div class="container-fluid">
<div class="row">
<form class="form">
<div class="col-md-6">
{% render_field form_one.char_field class="+big_input" placeholder="Hello world" %}
{% render_field form_one.radio_field help_on_top=True %}
{% render_field form_one.file_field template="myapp/coolest_file_field.html" %}
</div>
<div class="col-md-6">
{% render_field form_one.multiple_select_field show_help=False required=False %}
{% render_field form_one.checkbox_field %}
</div>
</form>
</div>
</div>


Template tags
-------------

render_field
============

Gets the bound_field and the extra kwargs and then render it.

Special kwargs:

* show_help - show/hide field help_text
* show_label - show/hide field label
* help_on_top - show help_text on top
* template - template used for this field
* required - override field required attr for visual fake


render_form
===========

Gets form as first arg. Iterates through the fields and render them. Extra kwargs passed in each field.


render_messages
===============

Just render the messages (django.contrib.messages)




History
-------

0.1.0 (2015-01-11)
---------------------

* First release on PyPI.
Release History

Release History

0.1.0

This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.1.0a

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
django_molder-0.1.0.tar.gz (15.0 kB) Copy SHA256 Checksum SHA256 Source May 19, 2015

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting