{% comment %} {% extends 'base.html' %} {% endcomment %} {% load static widget_tweaks %} {% block content %} {% if updated %} {% endif %} {% if form %}
{% csrf_token %} {{ form.media }}
{% for field in form %}
{% if field.field.required %}{{ field.label }}*: {% else %} {{ field.label }}: {% endif %} {% for error in field.errors %}
{{ error }}
{% endfor %} {{ field|attr:"class:form-control" }} {% if field.help_text %}

{{ field.help_text|safe }}

{% endif %}
{% endfor %}

[*] required field

{% endif %} {% if error_msg %}

{{ error_msg }}

{% endif %} {% endblock %}