{% extends "base.html" %} {% block title %} {% if client %} {{ _("Edit - %(name)s", name=client.title) }} {% else %} {{ _("Create OAuth Client") }} {% endif %} {% endblock %} {% from "macros/forms.html" import render_field, render_submit_field %} {% block content %} {% if client %}
{% endif %}

{{ self.title() }}

{% if client %} {% if not client.approved %} {% endif %}

{{ _("Your application has %(count)d users", count=client.tokens.count()) }}

{{ _("Keep the secret safe") }}

{% endif %}
{{ form.hidden_tag() }} {{ render_field(form.title) }} {{ render_field(form.description, hint=_("Shown to users when you request access to their account")) }} {{ render_field(form.redirect_url) }} {{ render_submit_field(form.submit) }}
{% endblock %}