mirror of
https://github.com/minetest/contentdb.git
synced 2024-12-25 15:32:25 +01:00
46 lines
1.4 KiB
HTML
46 lines
1.4 KiB
HTML
{% extends "base.html" %}
|
|
|
|
{% block title %}
|
|
{{ package.title or "Edit Request" }}
|
|
{% endblock %}
|
|
|
|
{% block content %}
|
|
{% from "macros/forms.html" import render_field, render_submit_field, form_includes, render_multiselect_field, render_mpackage_field, render_deps_field, package_lists %}
|
|
{{ form_includes() }}
|
|
{{ package_lists() }}
|
|
|
|
<form method="POST" action="">
|
|
{{ form.hidden_tag() }}
|
|
|
|
<h2 class="pkg_meta">Package</h2>
|
|
|
|
{{ render_field(form.type) }}
|
|
{{ render_field(form.name) }}
|
|
{{ render_field(form.title) }}
|
|
{{ render_field(form.short_desc) }}
|
|
{{ render_field(form.desc) }}
|
|
{{ render_multiselect_field(form.tags) }}
|
|
|
|
<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) }}
|
|
{{ 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>
|
|
|
|
<script src="/static/package_edit.js"></script>
|
|
{% endblock %}
|