~widelands-dev/widelands-website/update_beautifulsoup4

« back to all changes in this revision

Viewing changes to templates/wlmaps/upload.html

  • Committer: Shevonar
  • Date: 2012-04-24 21:14:22 UTC
  • mto: This revision was merged to the branch mainline in revision 330.
  • Revision ID: infomh@anmaruco.de-20120424211422-d80y5yd8x9q9gzpx
Maps modul reworked and adjusted to new style.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
{% extends "wlmaps/base.html" %}
 
2
{% comment %}
 
3
   vim:ft=htmldjango
 
4
{% endcomment %}
 
5
 
 
6
{% block title %}Upload - {{ block.super }}{% endblock %}
 
7
 
 
8
{% block content %}
 
9
<h1>Map Upload</h1>
 
10
<div class="blogEntry">
 
11
        <a href="{% url wlmaps_index %}">Maps</a> &#187; Upload
 
12
        <br /><br />
 
13
        <form enctype="multipart/form-data" action="{% url wlmaps_upload %}" method="post">
 
14
                {{ form.file.label_tag }}: {{ form.file }}<br />
 
15
                {{ form.uploader_comment.label_tag }}:<br />
 
16
                {{ form.uploader_comment }}
 
17
                {% csrf_token %}<br />
 
18
                <input type="submit" value="Upload" />
 
19
        </form>
 
20
</div>
 
21
{% endblock %}