forked from adamlaska/datatracker
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathedit_position.html
More file actions
30 lines (24 loc) · 798 Bytes
/
edit_position.html
File metadata and controls
30 lines (24 loc) · 798 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
{% extends "nomcom/nomcom_private_base.html" %}
{# Copyright The IETF Trust 2015, All Rights Reserved #}
{% load origin %}
{% load static %}
{% block pagehead %}
{{ form.media.css }}
{% endblock %}
{% load bootstrap3 %}
{% block subtitle %} - {% if position %}Edit{% else %}Add{% endif %} positions{% endblock %}
{% block nomcom_content %}
{% origin %}
<h2>{% if position %}Edit{% else %}Add{% endif %} position</h2>
<form method="post">
{% csrf_token %}
{% bootstrap_form form %}
{% buttons %}
<input class="btn btn-primary" type="submit" value="{% if position %}Save{% else %}Add{% endif %}">
<a class="btn btn-default pull-right" href="../">Back</a>
{% endbuttons %}
</form>
{% endblock %}
{% block content_end %}
{{ form.media.js }}
{% endblock %}