mirror of
https://gitlab.crans.org/bde/nk20
synced 2025-08-31 08:55:26 +02:00
ansible
apps
docs
locale
note_kfet
fixtures
settings
static
templates
oauth2_provider
application_confirm_delete.html
application_detail.html
application_form.html
application_list.html
application_registration_form.html
authorize.html
authorized-oob.html
authorized-token-delete.html
authorized-tokens.html
registration
400.html
403.html
404.html
500.html
autocomplete_model.html
base.html
base_search.html
__init__.py
admin.py
inputs.py
middlewares.py
urls.py
views.py
wsgi.py
.dockerignore
.env_example
.gitignore
.gitlab-ci.yml
.gitmodules
COPYING
Dockerfile
README.md
entrypoint.sh
manage.py
nginx_note.conf_example
note.cron
requirements.txt
shell-static.nix
shell.nix
tox.ini
uwsgi_note.ini
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 %}
|