Skip to main content

Reusable Django app for display kube forms

Project description

django-kube-form
================

Reusable Django app for display [kube forms](http://imperavi.com/kube/forms/ "kube forms")

## Installation
Install with pip: `pip install kubeform`

Add `'kubeform',` to INSTALLED_APPS

## Usage

Simple column form:

```html
{% load kube %}

<h2>Form</h2>
<form method="POST">
{{ form|kubecolumn }}
<p>
<input type="submit" class="btn" value="Send">
</p>
</form>
```

Simple inline form:

```html
{% load kube %}

<h2>Form</h2>
<form method="POST">
{{ form|kubeinline }}
<input type="submit" class="btn" value="Send">
</form>
```

Width fields:
```html
{% load kube %}

<h2>Form</h2>
<form method="POST">
{{ form.title|kubewidth:"50" }}
<input type="submit" class="btn" value="Send">
</form>
```

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

kubeform-0.1.2.tar.gz (1.7 kB view details)

Uploaded Source

File details

Details for the file kubeform-0.1.2.tar.gz.

File metadata

  • Download URL: kubeform-0.1.2.tar.gz
  • Upload date:
  • Size: 1.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for kubeform-0.1.2.tar.gz
Algorithm Hash digest
SHA256 fe7d924ef4c6af3fc3ccb39eae1c5be3619fa518a09426d5e4ecc38512125ec7
MD5 487dfe6690f6090b1499ab26039dd7cf
BLAKE2b-256 3aa781318732d1138741ed6befc11e01f6ffd0e460dc31392521fc54c24cb97d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page