qrurls.admin: minor usability tweaks to the import url_images select-multiple...
{% extends "admin/base_site.html" %}
{% load i18n admin_static %}
{% block extrahead %}{{ block.super }}
<script type="text/javascript" src="{% url 'admin:jsi18n' %}"></script>
{{ media }}
{% endblock %}
{% block extrastyle %}{{ block.super }}
<link rel="stylesheet" type="text/css" href="{% static "admin/css/forms.css" %}" />
{% endblock %}
{% block content %}
<div id="content-main">
<form enctype="multipart/form-data" action="{{ form_url }}" method="post" id="{{ opts.module_name }}_form">{% csrf_token %}
<div>
{% if errors %}
<p class="errornote">
{% blocktrans count counter=errors|length %}Please correct the error below.{% plural %}Please correct the errors below.{% endblocktrans %}
</p>
{{ adminform.form.non_field_errors }}
{% endif %}
<fieldset class="module aligned">
<h2>URL Feed</h2>
<div class="form-row">
<div class="field-box field-shorturl">
{{ form.shorturl.errors }}
{{ form.shorturl.label_tag }}
{{ form.shorturl }}
</div>
</div>
<div class="form-row">
{{ form.publishing_date.errors }}
{{ form.publishing_time.errors }}
<div class="field-box field-publishing_date">
{{ form.publishing_date.label_tag }}
{{ form.publishing_date }}
</div>
<div class="field-box field-publishing_time">
{{ form.publishing_time.label_tag }}
{{ form.publishing_time }}
</div>
<p class="help">Starting date/time for publishing.</p>
</div>
<div class="form-row">
<div class="field-box field-image">
<label for="image">Images</label>
<input type="file" name="image" id="image" multiple="multiple">
</div>
<p class="help">Upload new images. Selecting multiple image files is possible. The order of images will be randomized.</p>
</div>
<div class="form-row">
{{ form.url_images.label_tag }}
{{ form.url_images }}
<p class="help">Select multiple existing images to re-use them. The order of images will be randomized.</p>
</div>
</fieldset>
<div class="submit-row">
<input type="submit" value="{% trans 'Import' %}" class="default" name="_import" />
</div>
</div>
</form>
</div>
{% endblock %}