]> gitweb.fperrin.net Git - djsite.git/blob - quotes/templates/quotes/massimport.html
Add a massimport page
[djsite.git] / quotes / templates / quotes / massimport.html
1 {% extends 'quotes/base.html' %}
2
3 {% block title %}Importing several quotes at once{% endblock %}
4
5 {% block body %}
6
7 <p>Expected format in the text area:</p>
8
9 <pre>
10   Text of the quote
11   ---
12   Author of the quote
13   ---
14   Title of the work (book or play title, name of the speech, historical event, etc.)
15   ---
16   tag 1, tag 2, separated by commas
17   ===
18   A second quote
19   ---
20   Author of the second quote
21   ---
22   Title of the second work
23   ---
24   some, tags
25   ===
26   A third quote
27   ---
28   Author of the quote
29   ---
30   Title of the work
31   ---
32   etc, etc
33 </pre>
34
35 <form action="{% url 'quotes:massimport' %}" method="post">
36   {% csrf_token %}
37   <p>Quotes to import: </p>
38   <textarea name="quotes" cols="100" rows="20"></textarea>
39   <p><input type="submit" /></p>
40 </form>
41
42 {% endblock %}