Skip to main content

Materializecss support for Django projects

Project description

# django-materialize-forms
Django tamplatetags for materialize css

1. Install using pip:

pip install django-materialize-forms



Use in templates

{% load materialize %}

# Using a filter

<form action="/url/to/submit/" method="post">
{% csrf_token %}
{{ form.field_1|as_material:"s12" }}
{{ form.field_2|as_material:"s12" }}
{{ form.field_3|as_material:"s12" }}
<div class="form-actions">
<button type="submit" class="btn btn-primary">Submit</button>

Project details

Download files

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

Files for django-materialize-forms, version 0.2.0
Filename, size File type Python version Upload date Hashes
Filename, size django-materialize-forms-0.2.0.tar.gz (1.3 MB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page