Rev | Line | |
---|
| 1 | {% extends "exodus_template.html" %}
|
---|
| 2 |
|
---|
| 3 | {% block content %}
|
---|
| 4 | <h1>Create a location</h1>
|
---|
| 5 |
|
---|
| 6 |
|
---|
| 7 | <form method="post" action=".">
|
---|
| 8 | <p>
|
---|
| 9 | <label for="id_description">Description:</label> {{ form.description }}
|
---|
| 10 | {% if form.description.errors %}*** {{ form.description.errors|join:", " }}{% endif %}
|
---|
| 11 | </p>
|
---|
| 12 | <p>
|
---|
| 13 | <label for="id_coordinateX">X coordinate:</label> {{ form.coordinateX }}
|
---|
| 14 | {% if form.coordinateX.errors %}*** {{ form.coordinateX.errors|join:", " }}{% endif %}
|
---|
| 15 | </p>
|
---|
| 16 | <p>
|
---|
| 17 | <label for="id_coordinateY">Y coordinate:</label> {{ form.coordinateY }}
|
---|
| 18 | {% if form.coordinateY.errors %}*** {{ form.coordinateY.errors|join:", " }}{% endif %}
|
---|
| 19 | </p>
|
---|
| 20 |
|
---|
| 21 | <input type="submit" value="sumbit" />
|
---|
| 22 | </form>
|
---|
| 23 |
|
---|
| 24 | {% endblock %}
|
---|
Note:
See
TracBrowser
for help on using the repository browser.