2021-02-08 20:44:32 +01:00
|
|
|
{% extends "admin.html" %}
|
|
|
|
|
|
|
|
{% block admin %}
|
2021-02-09 14:19:48 +01:00
|
|
|
<div class="center">
|
2021-03-30 17:16:44 +02:00
|
|
|
<h1>{{ fluent(key="edit-link-headline", lang=user.language, linktitle=link.title) }}</h1>
|
2021-02-09 14:19:48 +01:00
|
|
|
<form action="" method="POST">
|
|
|
|
<div>
|
2021-03-30 17:33:04 +02:00
|
|
|
<label for="title">{{ fluent(key="link-description", lang=user.language) }}:</label>
|
2021-02-09 14:19:48 +01:00
|
|
|
<input type="text" name="title" value="{{ link.title }}">
|
|
|
|
</div>
|
|
|
|
<div>
|
2021-03-30 17:33:04 +02:00
|
|
|
<label for="target">{{ fluent(key="link-target", lang=user.language) }}:</label>
|
2021-02-09 14:19:48 +01:00
|
|
|
<input type="text" name="target" value="{{link.target}}">
|
|
|
|
</div>
|
|
|
|
<div>
|
2021-03-30 17:33:04 +02:00
|
|
|
<label for="code">{{ fluent(key="link-code", lang=user.language) }}:</label>
|
2021-02-09 14:19:48 +01:00
|
|
|
<input type="text" name="code" value="{{link.code}}">
|
|
|
|
</div>
|
|
|
|
<div class="actions danger">
|
2021-03-30 17:16:44 +02:00
|
|
|
<h2>{{ fluent(key="danger-zone", lang=user.language) }}</h2>
|
|
|
|
<h3>{{ fluent(key="danger-zone-text", lang=user.language) }}</h3>
|
|
|
|
<input type="submit" value='{{ fluent(key="save-edits", lang=user.language) }}'>
|
|
|
|
<a class="button" href="/admin/delete/link/{{link.code}}">{{ fluent(key="delete-link", lang=user.language)
|
|
|
|
}}</a>
|
2021-02-09 14:19:48 +01:00
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
</div>
|
2021-02-08 20:44:32 +01:00
|
|
|
{% endblock %}
|