mirror of
https://gitlab.crans.org/bde/nk20
synced 2024-11-27 19:03:00 +00:00
31 lines
1.2 KiB
HTML
31 lines
1.2 KiB
HTML
{% extends "base.html" %}
|
|
|
|
{% load i18n %}
|
|
{% load crispy_forms_filters %}
|
|
|
|
{% block content %}
|
|
<form class="form-horizontal" method="post" action="{% block app-form-action-url %}{% url 'oauth2_provider:update' application.id %}{% endblock app-form-action-url %}">
|
|
<div class="card">
|
|
<div class="card-header text-center">
|
|
<h3 class="block-center-heading">
|
|
{% block app-form-title %}
|
|
{% trans "Edit application" %} {{ application.name }}
|
|
{% endblock app-form-title %}
|
|
</h3>
|
|
</div>
|
|
<div class="card-body">
|
|
{% csrf_token %}
|
|
{{ form|crispy }}
|
|
</div>
|
|
<div class="card-footer text-center control-group">
|
|
<div class="controls">
|
|
<a class="btn btn-secondary" href="{% block app-form-back-url %}{% url "oauth2_provider:detail" application.id %}{% endblock app-form-back-url %}">
|
|
{% trans "Go Back" %}
|
|
</a>
|
|
<button type="submit" class="btn btn-primary">Save</button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</form>
|
|
{% endblock %}
|