{% extends 'django_pdf_overlay/base.html' %} {% load bootstrap4 %} {% block content %}

{{ object.document.name }} Page #{{ object.number }} Field Editor

{% csrf_token %} {{ formset.management_form }} {% for form in formset %} {% if form.instance.pk is None %}

New Field Form

The new field will appear in the top left corner of the Field Layout screen.
{% else %}

Field: {{ form.instance.name }} Created: {{ form.instance.inserted }}

{% endif %}
{% bootstrap_form form layout='horizontal' %}
{% endfor %} {% buttons %} {% endbuttons %}
{% if perms.django_pdf_overlay.add_field %}

Copy All Fields From Another Page

{% csrf_token %} {% bootstrap_form field_copy_form layout='horizontal' %} {% buttons %} {% endbuttons %}
{% endif %} {% endblock %}