Move default template for tables out of template into table base class
[ganeti_webmgr.git] / ganeti_web / templates / ganeti / node / role.html
blob72d19f95c8ee6f2cf0d85743a990e2024e8dcfc0
1 {% load i18n %}
2 {% comment %} Form for setting node role {% endcomment %}
3 {% load webmgr_tags %}
4 <form class="ajax_form node_role_form" method="post" action="{% url node-role cluster.slug node.hostname %}">
5 <ul id="errors"></ul>
6 <table>
7 <tr><th>{% trans "Current Role" %}: </th><td>{{ node.role|node_role }}</td></tr>
8 {{form}}
9 </table>
10 <input type="submit" class="submit" value="{% trans "Save" %}"/>
11 </form>