forked from ietf-tools/datatracker
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathedit_position.html
More file actions
35 lines (35 loc) · 924 Bytes
/
edit_position.html
File metadata and controls
35 lines (35 loc) · 924 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
31
32
33
34
35
{% 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 django_bootstrap5 %}
{% 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" class="my-3">
{% csrf_token %}
{% bootstrap_form form %}
<button class="btn btn-primary"
type="submit">
{% if position %}Save{% else %}Add{% endif %}</button>
<a class="btn btn-secondary float-end" href="../">Back</a>
</form>
{% endblock %}
{% block content_end %}{{ form.media.js }}{% endblock %}