Semantic or Fomantic UI for Django Forms
Project description
======================= 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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file django2_semanticui_form-0.0.4-py3-none-any.whl.
File metadata
- Download URL: django2_semanticui_form-0.0.4-py3-none-any.whl
- Upload date:
- Size: 7.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.6.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
346f9cd3fede529697619514c47465f5c6955e6bc895a25e35b09caed7ce20d9
|
|
| MD5 |
b4cdf5fb8240dd90e601c046cefddf2a
|
|
| BLAKE2b-256 |
65264456b49c293ee3d666baa72e2d8f92d84ddbc6485a7f38b57dad8a00664d
|