Metadata-Version: 2.1
Name: django2-semanticui-form
Version: 0.0.4
Summary: Semantic or Fomantic UI for Django Forms
Home-page: https://github.com/Gokujo/django-semanticui-form
Author: Maxim Harder
Author-email: maxim_harder@jas.de
License: BSD
Keywords: SemanticUI,django,Semantic,Fomantic
Platform: UNKNOWN
Classifier: Programming Language :: Python
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Framework :: Django
Classifier: Environment :: Web Environment
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Description-Content-Type: text/markdown
Requires-Dist: django (>=2.0)

=======================
Django Semantic UI form
=======================

.. image:: https://badge.fury.io/py/django-semanticui-form.png
   :alt: PyPI version
   :target: https://pypi.python.org/pypi/django-semanticui-form

.. image:: https://travis-ci.org/gokujo/django-semanticui-form.png?branch=master
    :target: https://travis-ci.org/gokujo/django-semanticui-form

.. image:: https://coveralls.io/repos/gokujo/django-semanticui-form/badge.png?branch=master
   :target: https://coveralls.io/r/gokujo/django-semanticui-form?branch=master


Semantic (Fomantic) UI for Django Form.

A simple Django template tag to work with `Semantic UI <http://semantic-ui.com/>`_

This project is a fork from
`django-bootstrap-form <https://github.com/peterbe/django-semanticui-form>`_ by
`peterbe <https://github.com/peterbe>`_.

Some fixes by me


Usage
======

Add ``semanticuiform`` to your ``INSTALLED_APPS``.

At the top of your template load in our template tags::

    {% load semanticui %}

Then to render your form::

    <form class="ui form">
        <legend>Form Title</legend>
        {% csrf_token %}
        {{ form|semanticui }}
        <button class="ui button" type="submit">Submit</button>
    </form>

To make the form with inline element, change the ``|semanticui`` template
tag to ``|semanticui_inline``.::

    <form class="ui form">
        <legend>Form Title</legend>
        {% csrf_token %}
        {{ form|semanticui_inline }}
        <button class="ui button" type="submit">Submit</button>
        </form>


Demo
=====

Not yet.


