Added a missing template.
- Legacy-Id: 14173
This commit is contained in:
parent
53eb7c8ae8
commit
7530e4cec3
33
ietf/templates/doc/edit_field.html
Normal file
33
ietf/templates/doc/edit_field.html
Normal file
|
@ -0,0 +1,33 @@
|
|||
{% extends "base.html" %}
|
||||
{# Copyright The IETF Trust 2015, All Rights Reserved #}
|
||||
{% load origin %}
|
||||
|
||||
{% load bootstrap3 %}
|
||||
|
||||
{% block title %}
|
||||
{{ title }} {{ doc.canonical_name }}
|
||||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
{% origin %}
|
||||
<h1>{{ title }}<br><small>{{ doc.canonical_name }}</small></h1>
|
||||
|
||||
<p>
|
||||
<b>
|
||||
{{ info|safe }}
|
||||
</b>
|
||||
</p>
|
||||
|
||||
|
||||
<form enctype="multipart/form-data" method="post">
|
||||
{% csrf_token %}
|
||||
{% bootstrap_form form %}
|
||||
|
||||
{% buttons %}
|
||||
<!-- Regarding placement of buttons: https://www.lukew.com/ff/entry.asp?571 -->
|
||||
<button type="submit" class="btn btn-primary" name="submit" value="Save">Submit</button>
|
||||
<a class="btn btn-default pull-right" href="{% url "ietf.doc.views_doc.document_main" name=doc.canonical_name %}">Back</a>
|
||||
{% endbuttons %}
|
||||
</form>
|
||||
|
||||
{% endblock %}
|
Loading…
Reference in a new issue