2018-03-23 20:08:55 +01:00
|
|
|
{% extends "base.html" %}
|
|
|
|
|
|
|
|
{% block title %}
|
2018-05-13 16:40:37 +02:00
|
|
|
{{ package.title or "Edit Request" }}
|
2018-03-23 20:08:55 +01:00
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
{% block content %}
|
2018-05-29 21:51:42 +02:00
|
|
|
{% from "macros/forms.html" import render_field, render_submit_field, form_includes, render_multiselect_field, render_mpackage_field, render_deps_field, package_lists %}
|
2018-05-25 17:53:25 +02:00
|
|
|
{{ form_includes() }}
|
2018-05-29 21:51:42 +02:00
|
|
|
{{ package_lists() }}
|
2018-05-25 17:53:25 +02:00
|
|
|
|
2018-03-23 20:08:55 +01:00
|
|
|
<form method="POST" action="">
|
|
|
|
{{ form.hidden_tag() }}
|
|
|
|
|
2018-05-29 21:51:42 +02:00
|
|
|
<h2 class="pkg_meta">Package</h2>
|
|
|
|
|
|
|
|
{{ render_field(form.type) }}
|
2018-03-23 20:08:55 +01:00
|
|
|
{{ render_field(form.name) }}
|
|
|
|
{{ render_field(form.title) }}
|
2019-01-29 04:00:01 +01:00
|
|
|
{{ render_field(form.short_desc) }}
|
2018-03-23 20:08:55 +01:00
|
|
|
{{ render_field(form.desc) }}
|
2018-05-25 17:53:25 +02:00
|
|
|
{{ render_multiselect_field(form.tags) }}
|
2018-05-29 21:51:42 +02:00
|
|
|
|
|
|
|
<h2 class="not_txp">Dependency Info</h2>
|
|
|
|
|
|
|
|
{{ render_mpackage_field(form.provides_str, class_="not_txp", placeholder="Comma separated list") }}
|
|
|
|
{{ render_deps_field(form.harddep_str, class_="not_txp not_game", placeholder="Comma separated list") }}
|
|
|
|
{{ render_deps_field(form.softdep_str, class_="not_txp not_game", placeholder="Comma separated list") }}
|
|
|
|
|
|
|
|
{{ render_field(form.license) }}
|
|
|
|
{{ render_field(form.media_license) }}
|
2018-03-23 20:08:55 +01:00
|
|
|
{{ render_field(form.repo) }}
|
|
|
|
{{ render_field(form.website) }}
|
|
|
|
{{ render_field(form.issueTracker) }}
|
|
|
|
{{ render_field(form.forums) }}
|
|
|
|
|
|
|
|
<hr />
|
|
|
|
|
|
|
|
{{ render_field(form.edit_title) }}
|
|
|
|
{{ render_field(form.edit_desc) }}
|
|
|
|
{{ render_submit_field(form.submit) }}
|
|
|
|
</form>
|
2018-05-29 21:51:42 +02:00
|
|
|
|
|
|
|
<script src="/static/package_edit.js"></script>
|
2018-03-23 20:08:55 +01:00
|
|
|
{% endblock %}
|