Add a CSS class to slug widgets

This commit is contained in:
Raphael Michel
2018-07-29 15:39:15 +02:00
parent 24739e1638
commit edb913855d

View File

@@ -1,4 +1,4 @@
<div class="form-inline helper-display-inline">
<div class="form-inline helper-display-inline slug-widget">
{{ pre }}
<input type="{{ widget.type }}" name="{{ widget.name }}"
{% if widget.value != None %}value="{{ widget.value }}"{% endif %}