2018-03-20 19:40:19 +01:00
|
|
|
{% extends "base.html" %}
|
|
|
|
|
|
|
|
{% block title %}
|
|
|
|
Create a release | {{ package.title }}
|
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
{% block content %}
|
|
|
|
{% from "macros/forms.html" import render_field, render_submit_field %}
|
2018-03-23 18:05:07 +01:00
|
|
|
<form method="POST" action="" enctype="multipart/form-data">
|
2018-03-20 19:40:19 +01:00
|
|
|
{{ form.hidden_tag() }}
|
|
|
|
|
2018-05-29 23:43:42 +02:00
|
|
|
{{ render_field(form.title, placeholder="Human readable. Eg: 1.0.0 or 2018-05-28") }}
|
2018-03-20 19:40:19 +01:00
|
|
|
{{ render_field(form.uploadOpt) }}
|
2018-06-06 00:13:39 +02:00
|
|
|
{% if package.repo %}
|
2018-05-24 20:02:27 +02:00
|
|
|
{{ render_field(form.vcsLabel) }}
|
|
|
|
{% endif %}
|
2018-03-20 19:40:19 +01:00
|
|
|
{{ render_field(form.fileUpload) }}
|
|
|
|
{{ render_submit_field(form.submit) }}
|
|
|
|
</form>
|
|
|
|
{% endblock %}
|