2018-05-27 18:11:02 +02:00
|
|
|
{% extends "base.html" %}
|
|
|
|
|
|
|
|
{% block title %}
|
2018-07-28 18:26:28 +02:00
|
|
|
{% if license %}
|
|
|
|
Edit {{ license.name }}
|
2018-05-27 18:11:02 +02:00
|
|
|
{% else %}
|
2018-07-28 18:26:28 +02:00
|
|
|
New license
|
2018-05-27 18:11:02 +02:00
|
|
|
{% endif %}
|
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
{% block content %}
|
|
|
|
<p>
|
2018-07-28 18:26:28 +02:00
|
|
|
<a href="{{ url_for('license_list_page') }}">Back to list</a> |
|
|
|
|
<a href="{{ url_for('createedit_license_page') }}">New License</a>
|
2018-05-27 18:11:02 +02:00
|
|
|
</p>
|
|
|
|
|
|
|
|
{% from "macros/forms.html" import render_field, render_submit_field %}
|
|
|
|
<form method="POST" action="" enctype="multipart/form-data">
|
|
|
|
{{ form.hidden_tag() }}
|
|
|
|
|
2018-07-28 18:26:28 +02:00
|
|
|
{{ render_field(form.name) }}
|
|
|
|
{{ render_field(form.is_foss) }}
|
2018-05-27 18:11:02 +02:00
|
|
|
{{ render_submit_field(form.submit) }}
|
|
|
|
</form>
|
|
|
|
{% endblock %}
|