~widelands-dev/widelands-website/django_staticfiles

« back to all changes in this revision

Viewing changes to templates/wlmaps/upload.html

  • Committer: franku
  • Date: 2016-04-18 13:29:23 UTC
  • mto: This revision was merged to the branch mainline in revision 409.
  • Revision ID: somal@arcor.de-20160418132923-bfzkb5mvdr7l8mz4
added migrations to each app

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
   vim:ft=htmldjango
4
4
{% endcomment %}
5
5
 
6
 
{% load static %}
7
 
 
8
6
{% block title %}Upload - {{ block.super }}{% endblock %}
9
7
 
10
 
{% block content_header %}
11
 
        <h1>Map Upload</h1>
12
 
{% endblock %}
13
 
{% block content_main %}
 
8
{% block content %}
 
9
<h1>Map Upload</h1>
14
10
<div class="blogEntry">
15
11
        <div class="breadCrumb">
16
12
                <a href="{% url 'wlmaps_index' %}">Maps</a> &#187; Upload
17
13
        </div>
18
14
        <form enctype="multipart/form-data" action="{% url 'wlmaps_upload' %}" method="post">
19
 
                {{ form.file.label_tag }} {{ form.file }}<br />
 
15
                {{ form.file.label_tag }}: {{ form.file }}<br />
20
16
                {% if form.file.errors %}
21
17
                        <span class="errormessage">{{ form.file.errors }}</span><br />
22
18
                {% endif %}
23
19
                <div>
24
 
                {{ form.uploader_comment.label_tag }}
 
20
                {{ form.uploader_comment.label_tag }}:
25
21
                        <span class="posRight">
26
22
                                <a href="/wiki/WikiSyntax" title="Opens new Tab/Window" target="_blank">
27
 
                                        <img src="{% static 'img/menu_help.png' %}" alt="Help on Syntax" class="middle">
 
23
                                        <img src="{{ MEDIA_URL }}img/menu_help.png" alt="Help on Syntax" class="middle">
28
24
                                        Help on Syntax
29
25
                                </a>
30
26
                        </span>