{% extends "base.html" %}
{% from "macros.html" import render_field %}
{% block title %}Update Document Version{% endblock %}

{% block content_title %}Update Document Version{% endblock %}
{% block content_description %}Update document version for {{ doc_details }}.{% endblock %}

{% block content %}
    <form method="post">
        {{ form.hidden_tag() }}
        {%  set disabled_fields = ['language', 'system_context', 'system_metadata'] %}
        {%  set exclude_fields = [] %}
        {% for field in form %}
            {{ render_field(field, disabled_fields, exclude_fields) }}
        {% endfor %}
        <button type="submit" class="btn btn-primary">Update Document Version</button>
    </form>
{% endblock %}
