datatracker/ietf/templates/help/states.html

36 lines
765 B
HTML

{% extends "base.html" %}
{# Copyright The IETF Trust 2015, All Rights Reserved #}
{% load origin %}
{% block title %} {{type.label|cut:"state"|cut:"state"}} states{% endblock %}
{% block content %}
{% origin %}
<h1>{{type.label|cut:"state"|cut:"State"}} states</h1>
<table class="table table-condensed table-striped">
<thead>
<tr>
<th>State</th>
<th>Description</th>
<th>Next states</th>
</tr>
</thead>
<tbody>
{% for state in states %}
<tr>
<th>{{ state.name }}</th>
<td>{{ state.desc|safe }}</td>
<td><ul>{% for s in state.next_states.all %}<li>{{ s.name }}</li>{%endfor%}</ul></td>
</tr>
{% endfor %}
</tbody>
</table>
{% endblock %}