2018-03-20 03:58:31 +01:00
|
|
|
{% extends "base.html" %}
|
|
|
|
|
|
|
|
{% block title %}
|
2018-03-21 18:03:14 +01:00
|
|
|
{{ package.title or "Create Package" }}
|
2018-04-03 15:56:43 +02:00
|
|
|
{% if not package and author != current_user %}
|
|
|
|
for {{ author.display_name }}
|
|
|
|
{% endif %}
|
2018-03-20 03:58:31 +01:00
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
{% block content %}
|
|
|
|
{% from "macros/forms.html" import render_field, render_submit_field %}
|
|
|
|
<form method="POST" action="">
|
|
|
|
{{ form.hidden_tag() }}
|
|
|
|
|
|
|
|
{{ render_field(form.name) }}
|
|
|
|
{{ render_field(form.title) }}
|
|
|
|
{{ render_field(form.shortDesc) }}
|
|
|
|
{{ render_field(form.desc) }}
|
|
|
|
{{ render_field(form.type) }}
|
2018-04-03 15:13:11 +02:00
|
|
|
{{ render_field(form.license) }}
|
2018-03-26 13:42:35 +02:00
|
|
|
{{ render_field(form.tags) }}
|
2018-03-20 03:58:31 +01:00
|
|
|
{{ render_field(form.repo) }}
|
|
|
|
{{ render_field(form.website) }}
|
|
|
|
{{ render_field(form.issueTracker) }}
|
|
|
|
{{ render_field(form.forums) }}
|
|
|
|
{{ render_submit_field(form.submit) }}
|
|
|
|
<input type="submit" value="Go">
|
|
|
|
</form>
|
|
|
|
{% endblock %}
|