{% extends 'images.html' %}
{% import "bootstrap/wtf.html" as wtf %}

{% set sidebar_state = 'disabled' %}
{% set btn_back = true %}

{% block content %}

<h2 class="mx-5 subhead-heading">{{_('Image details')}}</h2>

<div class="container m-5">
    <form class="form" method="POST">
        {{ form.hidden_tag() }}

        {% for field in form if field.type != 'CSRFToken' and field.name not in ['scopes'] %}
        {% if not field.flags.hidden %}
        <div class="form-group row">
            <label for="name" class="col-sm-2 col-form-label">{{ field.label.text }}</label>
            <div class="col-sm-9">
                {{ field(class="form-control") }}
            </div>
        </div>
        {% endif %}
        {% endfor %}

        {% include 'scopes_checkbox_group.html' %}
    </form>
</div>

{% endblock %}
