8fe0bbc by Anon Ray at 2014-05-10 | 1 | {% extends "layout.html" %} |
2 | {% block body %} |
|
3 | <div> |
|
4 | {% if contexts|length > 0 %} |
|
5 | <ul> |
|
6 | {% for context in contexts %} |
|
7 | <div class="well"> |
|
8 | <div class="pull-right"> |
|
9 | <span class="glyphicon glyphicon-trash"></span> |
|
10 | </div> |
|
11 | <div> {{ context.name }} </div> |
|
12 | <div> {{ context.definition }} </div> |
|
13 | </div> |
|
14 | {% endfor %} |
|
15 | </ul> |
|
16 | {% else %} |
|
17 | <em> You haven't registered any contexts yet! </em> |
|
18 | {% endif %} |
|
19 | </div> |
|
20 | {% endblock %} |