Slug widget

This commit is contained in:
Raphael Michel
2017-07-17 20:54:39 +02:00
parent 130f619b05
commit 670bfa18de
9 changed files with 490 additions and 386 deletions

View File

@@ -0,0 +1,8 @@
<div class="form-inline helper-display-inline">
{{ pre }}
<input type="{{ widget.type }}" name="{{ widget.name }}"
{% if widget.value != None %}value="{{ widget.value }}"{% endif %}
{% include "django/forms/widgets/attrs.html" %}
/>
/
</div>