vocab_perm_manage_form.html 751 Bytes
<form class="vocab-perm-manage-form" method="post"> {% csrf_token %}
  {{ form.non_field_errors }}
  <table class = "VocabTable">
    <tr class="fieldWrapper">
      {% for field in form %}
        <td class="ColumnHeader">
          <div class="fieldWrapper">
            {{ field.errors }}
            {{ field.label_tag }} :
          </div>
        </td>
      {% endfor %}
    </tr>
    <tr class="fieldWrapper">
      {% for field in form %}
        <td>
          <div class="fieldWrapper">
            {{ field }}
          </div>
        </td>
      {% endfor %}
    </tr>
  </table>
  
  <p class="lexeme-save">
    <button type="submit" id="vocab-perm-manage-submit">
      Zapisz
    </button>
  </p>
</form>