datatracker/ietf/templates/doc/draft/change_ad.html
Lars Eggert 9d5d9d5172
fix: replace deprecated bootstrap things (#5858)
* text-muted -> text-body-secondary

* navbar-dark is deprecated

* Remove FIXME block, not an issue anymore

* Remove `navbar-light`
2023-07-18 12:22:28 -05:00

30 lines
1.1 KiB
HTML

{% extends "base.html" %}
{# Copyright The IETF Trust 2015, All Rights Reserved #}
{% load origin %}
{% load django_bootstrap5 %}
{% load ietf_filters %}
{% block title %}Change responsible AD for {{ doc.name }}-{{ doc.rev }}{% endblock %}
{% block content %}
{% origin %}
<h1>
Change responsible AD
<br>
<small class="text-body-secondary">{{ doc.name }}-{{ doc.rev }}</small>
</h1>
{% with approved=doc|state:"draft-rfceditor" %}
{% if approved %}
<div class="alert alert-warning my-3">
It is unusual to change the responsible AD for a document that has
been sent to the RFC Editor. Please make sure this is really what
you want to do.
</div>
{% endif %}
<form class="mt-3" enctype="multipart/form-data" method="post">
{% csrf_token %}
{% bootstrap_form form %}
<button type="submit" class="btn {{ approved|yesno:'btn-warning,btn-primary' }}">Submit</button>
<a class="btn btn-secondary float-end"
href="{% url "ietf.doc.views_doc.document_main" name=doc.name %}">Back</a>
</form>
{% endwith %}
{% endblock %}