* feat: support iab and iesg statements. Import iab statements. (#5895) * feat: infrastructure for statements doctype * chore: basic test framework * feat: basic statement document view * feat: show replaced statements * chore: black * fix: state help for statements * fix: cleanout non-relevant email expansions * feat: import iab statements, provide group statements tab * fix: guard against running import twice * feat: build redirect csv for iab statements * fix: set document state on import * feat: show published date on main doc view * feat: handle pdf statements * feat: create new and update statements * chore: copyright block updates * chore: remove flakes * chore: black * feat: add edit/new buttons for the secretariat * fix: address PR #5895 review comments * fix: pin pydantic until inflect catches up (#5901) (#5902) * chore: re-un-pin pydantic
23 lines
832 B
HTML
23 lines
832 B
HTML
{% extends "base.html" %}
|
|
{# Copyright The IETF Trust 2023, All Rights Reserved #}
|
|
{% load origin django_bootstrap5 static %}
|
|
{% block title %}Upload new revision: {{ doc.name }}{% endblock %}
|
|
{% block content %}
|
|
{% origin %}
|
|
<h1>
|
|
Upload New Revision
|
|
<br>
|
|
<small class="text-muted">{{ doc.name }}</small>
|
|
</h1>
|
|
<form class="upload-content form-horizontal mt-3"
|
|
method="post"
|
|
enctype="multipart/form-data">
|
|
{% csrf_token %}
|
|
{% bootstrap_form form layout="horizontal" %}
|
|
<button type="submit" class="btn btn-primary">Submit</button>
|
|
<a class="btn btn-secondary float-end" href="{{ doc.get_absolute_url }}">Back</a>
|
|
</form>
|
|
{% endblock %}
|
|
{% block js %}
|
|
<script src="{% static 'ietf/js/upload_statement.js' %}"></script>
|
|
{% endblock %} |