An open API service indexing awesome lists of open source software.

https://github.com/zokis/django-materialize-forms

Django tamplatetags for materialize css
https://github.com/zokis/django-materialize-forms

Last synced: over 1 year ago
JSON representation

Django tamplatetags for materialize css

Awesome Lists containing this project

README

          

# django-materialize-forms
Django tamplatetags for materialize css

[![PyPI version](https://badge.fury.io/py/django-materialize-forms.svg)](http://badge.fury.io/py/django-materialize-forms)

Installation
------------
1. Install using pip:

pip install django-materialize-forms

2. Add to INSTALLED_APPS:

'materialize_forms',

Use in templates
----------------

{% load materialize %}

# Using a filter


{% csrf_token %}
{{ form.field_1|as_material:"s12" }}
{{ form.field_2|as_material:"s12" }}
{{ form.field_3|as_material:"s12" }}


Submit