{% load i18n %}

<form method="POST">
  {% csrf_token %}
    {% if form.non_field_errors %}
      <div class="control-group">
        {% for err in form.non_field_errors %}
          <div class="alert alert-error help-block">
            {{ err }}
          </div>
        {% endfor %}
      </div>
    {% endif %}

    {% for field in form %}
      <br/>
      {{ field.label_tag }}
      {{ field }}
      {% if field.errors %}
        <div class="alert alert-error help-block">
          {{ field.errors }}
        </div>
      {% endif %}
    {% endfor %}

    <br/>
    <input class="half" type="submit" value="Submit">
  </form>
  <a href="{% url bread.browse_url_name %}">{% trans "Back to list" %}</a>

{% load i18n %}

<form method="POST"{% if form.is_multipart %} enctype="multipart/form-data"{% endif %}>
  {% csrf_token %}
    {% if form.non_field_errors %}
      <div class="control-group">
        {% for err in form.non_field_errors %}
          <div class="alert alert-error help-block">
            {{ err }}
          </div>
        {% endfor %}
      </div>
    {% endif %}

    {% for field in form %}
      <br/>
      {{ field.label_tag }}
      {{ field }}
      {% if field.errors %}
        <div class="alert alert-error help-block">
          {{ field.errors }}
        </div>
      {% endif %}
    {% endfor %}

    <br/>
    <input class="half" type="submit" value="Submit">
  </form>
  <a href="{% url bread.browse_url_name %}">{% trans "Back to list" %}</a>

Use the right form enctype
Use the right form enctype

On the edit page, if uploading files, form needs the proper
enctype or it won't work.
