{% extends "base.html" %} {% block title %} {{ package.title or "Create Package" }} {% if not package and author != current_user %} for {{ author.display_name }} {% endif %} {% endblock %} {% from "macros/forms.html" import render_field, render_submit_field, form_scripts, render_multiselect_field, render_mpackage_field, render_deps_field, package_lists %} {% block scriptextra %} {{ form_scripts() }} {% if enable_wizard %} {% endif %} {% endblock %} {% block content %}

Create Package

View Have you read the Package Inclusion Policy and Guidance yet?
{{ package_lists() }}
{{ form.hidden_tag() }}
Package
{{ render_field(form.type, class_="pkg_meta col-sm-2") }} {{ render_field(form.title, class_="pkg_meta col-sm-7") }} {% if package and package.approved and not package.checkPerm(current_user, "CHANGE_NAME") %} {{ render_field(form.name, class_="pkg_meta col-sm-3", readonly=True) }} {% else %} {{ render_field(form.name, class_="pkg_meta col-sm-3") }} {% endif %}
{{ render_field(form.short_desc, class_="pkg_meta") }} {{ render_multiselect_field(form.tags, class_="pkg_meta") }}
{{ render_field(form.license, class_="not_txp col-sm-6") }} {{ render_field(form.media_license, class_="col-sm-6") }}
{{ render_field(form.desc, class_="pkg_meta", fieldclass="form-control markdown") }}
Dependencies {{ 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") }}
Repository and Links

Enter the repo URL for the package. If the repo uses git then the metadata will be automatically imported.

Leave blank if you don't have a repo. Click skip if the import fails.

{{ render_field(form.repo, class_="pkg_repo") }}
Importing... (This may take a while)
{{ render_field(form.website, class_="pkg_meta") }} {{ render_field(form.issueTracker, class_="pkg_meta") }} {{ render_field(form.forums, class_="pkg_meta", placeholder="Tip: paste in a forum topic URL") }}
{{ render_submit_field(form.submit) }}
{% endblock %}