{% 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">{{_('Update image')}} {{ form.name.data }}</h2>

<form  class="form m-5" method="POST" action="{{ url_for('action_image_config') }}">
    {{ form.hidden_tag() }}

    {{ form.image_id() }}
    {{ form.server() }}
    {{ form.name() }}

    {% include 'scopes_checkbox_group.html' %}

    <div class="form-group">
        {{ form.submit(class="btn btn-primary") }}
    </div>
  </form>

{% endblock %}
