Skip to main content

Django Semantic UI form

PyPI version https://travis-ci.org/peterbe/django-semanticui-form.png?branch=master https://coveralls.io/repos/peterbe/django-semanticui-form/badge.png?branch=master

Semantic UI for Django Form.

A simple Django template tag to work with Semantic UI

This project is a fork from django-bootstrap-form by tzangms.

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.

Release files for django-semanticui-form 0.0.1

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

Source distribution (sdist)

Source distribution for django-semanticui-form 0.0.1
File Size Uploaded
django-semanticui-form-0.0.1.tar.gz 4.1 kB Details

Built distributions (wheels)

Table of built distributions (wheels) for django-semanticui-form 0.0.1
File Interpreter ABI Platform
django_semanticui_form-0.0.1-py3-none-any.whl Python 3 none any Details
django_semanticui_form-0.0.1-py2-none-any.whl Python 2 none any Details

Total release size: 17.3 kB

Release files / django-semanticui-form-0.0.1.tar.gz

Download URL django-semanticui-form-0.0.1.tar.gz
Size 4.1 kB
Tags Source
SHA-256 checksum
How to use checksums
2a08d5fe4afadfe48ad8077092cfa1de2ecb14404358b6daad5fb47a4efaeb3a
BLAKE2b-256 checksum
How to use checksums
4d80a4fed16effe379c0d2363f047c58220348fd785e8f6ed41fa0ccf9608d60
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / django_semanticui_form-0.0.1-py3-none-any.whl

Download URL django_semanticui_form-0.0.1-py3-none-any.whl
Size 6.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6d43a663ec45d8d125b4d55053318c6d74f15d2893fd890bc751fafd6fc15ab7
BLAKE2b-256 checksum
How to use checksums
83800895d2d4eea29da32557430deeb499e4f4a56fcddc8d35ba6614a1a17f2b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / django_semanticui_form-0.0.1-py2-none-any.whl

Download URL django_semanticui_form-0.0.1-py2-none-any.whl
Size 6.6 kB
Tags Python 2
SHA-256 checksum
How to use checksums
d3fe71ea4586b1bfb214f7b549321879cc4104bbf7e73f1d64f81a27322ef8c9
BLAKE2b-256 checksum
How to use checksums
7968195dc864a432e2b2b88e4a71f717c863b818de5b1f3ad5712bdf0a3e97ab
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.0.1 This release

3 release files

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