Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Tidied up templates (fixed url tag namespaces and block names).

  • Loading branch information...
commit 77cbe6fd178f13afa7fead58a5849779d9a2fe06 1 parent 39c0410
@alexsdutton alexsdutton authored
View
2  openorg_timeseries/templates/timeseries-admin/base.html
@@ -1 +1 @@
-{% extends "manage/base.html" %}
+{% extends "base.html" %}
View
5 openorg_timeseries/templates/timeseries-admin/create.html
@@ -1,7 +1,6 @@
{% extends "timeseries-admin/base.html" %}
-{% block body %}
-<article>
+{% block content %}
<h1>Create new time-series</h1>
<form method="post" action=".">{% csrf_token %}
@@ -12,7 +11,6 @@
<h2>Archives</h2>
{{ archive_formset.management_form }}
- {{ archive_formset.errors }}
<table>
<thead>
<tr>
@@ -37,5 +35,4 @@
</tr>
</tfoot>
</form>
-</article>
{% endblock %}
View
7 openorg_timeseries/templates/timeseries-admin/index.html
@@ -2,12 +2,11 @@
{% block title %}Time-series admin{% endblock %}
-{% block body %}
-<article>
+{% block content %}
<h1>Time-series</h1>
<p>
- <a href="{% url timeseries:create %}">Create new time-series</a>
+ <a href="{% url timeseries-admin:create %}">Create new time-series</a>
</p>
<table>
@@ -24,6 +23,4 @@
</tr>
{% endfor %}</tbody>
</table>
-
-</article>
{% endblock %}
Please sign in to comment.
Something went wrong with that request. Please try again.