contentdb/app/templates/packages/alias_create_edit.html
2021-07-24 04:30:14 +01:00

24 lines
627 B
HTML

{% extends "base.html" %}
{% block title %}
{{ _("Alias") }}
{% endblock %}
{% block link %}
<a href="{{ package.getURL("packages.view") }}">{{ package.title }}</a>
{% endblock %}
{% block content %}
<a class="btn btn-secondary" href="{{ package.getURL("packages.alias_list") }}">Back to Aliases</a>
{% from "macros/forms.html" import render_field, render_submit_field, render_toggle_field %}
<form method="POST" action="" enctype="multipart/form-data" class="mt-4">
{{ form.hidden_tag() }}
{{ render_field(form.author) }}
{{ render_field(form.name) }}
{{ render_submit_field(form.submit) }}
</form>
{% endblock %}