{% extends "base.html" %} {% block title %} PleaseShare - {{ _('Upload') }} {% endblock %} {% block body %}
{{ form.csrf_token() }}
{{ form.file }} {{ _('Options') }}
{% with maxsize = (config.MAX_CONTENT_LENGTH / (1024**2)) %}

{{ _('Note: the filesize limit is currently set at %(maxsize)s MiB.', maxsize=maxsize) }}

{% endwith %}

{{ form.uploader_name.label }} {{ form.uploader_name(class='u-full-width') }}

{{ form.deletion_password.label }} {{ form.deletion_password(class='u-full-width') }}

{{ form.description.label }} {{ form.description(class='u-full-width') }}

{% if config.ALLOW_WEBSEEDS %}

{{ form.webseeds.label }} {{ form.webseeds(class='u-full-width') }}

{% endif %}
{% if config.ALLOW_TRACKERS%}

{{ form.trackers.label }}

{% if config.ALLOW_PRIVATE%}

{{ form.private }} {{ form.private.label(class='u-inline') }}

{% endif %} {% endif %} {% if config.ALLOW_MULTIFILE %}

{{ form.extract }} {{ form.extract.label(class='u-inline') }}

{% endif %} {% if config.ALLOW_PRIVATE%} {% endif %}

{{ _('About PleaseShare') }}

{{ _('Using PleaseShare is easy:') }}

  1. {{ _('You upload a file (or an archive, see the options below);') }}
  2. {{ _('You get a .torrent file') }} {% if config.SHOW_MAGNET_LINK %}{{ _('and a magnet link') }}{% endif %} {{ _('to share with your friends;') }}
  3. {{ _('Subsequent downloads are at least as fast as a direct HTTP download: this server acts as a webseed for the created torrent.') }}

{{ _('PleaseShare is free software, get the code. More about PleaseShare here. Need help?', url_about=url_for("static.about"), url_help=url_for("static.help")) }}

{% endblock %}