{% extends "layout.html" %}
{% from "_macros.html" import render_field_with_errors, render_field %}
{%- block title -%}
{{ _('Update OAuth2 client') }}
{%- endblock -%}
{% block content %}

<h1>{{ _('Update OAuth2 client') }}</h1>

<form action="" method="POST">
  {{ form.hidden_tag() }}

  <div class="card mb-4">
    <div class="card-body">
      {{ render_field_with_errors(form.client_name) }}
      {{ render_field_with_errors(form.scope, ri="multicheckbox") }}
      {{ render_field_with_errors(form.redirect_uris) }}
    </div>
  </div>

  {{ render_field(form.submit) }}
</form>

{% endblock %}
