mirror of
https://github.com/minetest/contentdb.git
synced 2024-12-23 22:42:25 +01:00
21 lines
586 B
HTML
21 lines
586 B
HTML
{% extends "base.html" %}
|
|
|
|
{% block title %}
|
|
Create a release | {{ package.title }}
|
|
{% endblock %}
|
|
|
|
{% block content %}
|
|
{% from "macros/forms.html" import render_field, render_submit_field %}
|
|
<form method="POST" action="" enctype="multipart/form-data">
|
|
{{ form.hidden_tag() }}
|
|
|
|
{{ render_field(form.title, placeholder="Human readable. Eg: 1.0.0 or 2018-05-28") }}
|
|
{{ render_field(form.uploadOpt) }}
|
|
{% if package.repo %}
|
|
{{ render_field(form.vcsLabel) }}
|
|
{% endif %}
|
|
{{ render_field(form.fileUpload) }}
|
|
{{ render_submit_field(form.submit) }}
|
|
</form>
|
|
{% endblock %}
|