qrurls/templates/admin/qrurls_import_images.html
changeset 49 7c0dcf6603f5
child 55 eb36c4d046c1
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/qrurls/templates/admin/qrurls_import_images.html	Mon Aug 19 02:11:16 2013 +0300
@@ -0,0 +1,61 @@
+{% 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">
+                        {{ form.image.errors }}
+                        {{ form.image.label_tag }}
+                        {{ form.image }}
+                    </div>
+                </div>
+            </fieldset>
+
+            <div class="submit-row">
+                <input type="submit" value="{% trans 'Import' %}" class="default" name="_import" />
+            </div>
+        </div>
+    </form>
+</div>
+{% endblock %}