<div class="input-group">
    {% include "django/forms/widgets/input.html" %}
    <span class="input-group-btn">
        <button class="btn btn-default reslugify"
                type="button"
                title="{% if widget.custom_title %}{{ widget.custom_title }}{%  else  %}Regenerate slug{% endif %}"
                data-regenerate="{{ widget.attrs.id }}"
        >
            <i class="mdi mdi-refresh"></i>
        </button>
    </span>
</div>
