Removed a bunch of redundant displays of the django messages framework messages from forms. Commit ready for merge.

- Legacy-Id: 10810
This commit is contained in:
Robert Sparks 2016-02-09 20:15:49 +00:00
parent 214b81991e
commit cdeef99dc1
64 changed files with 0 additions and 126 deletions

View file

@ -2,8 +2,6 @@
{% load origin %}{% origin %}
{% load bootstrap3 %}
{% bootstrap_messages %}
<form method="post" action="#custom">
{% csrf_token %}
{% bootstrap_form display_form %}

View file

@ -15,8 +15,6 @@
{% origin %}
<h1>{{ cl.long_name }}</h1>
{% bootstrap_messages %}
<ul class="nav nav-tabs nav-memory" role="tablist">
<li class="active"><a href="#view" data-toggle="tab">Documents</a></li>
<li><a href="#documents" data-toggle="tab">Explicitly added</a></li>

View file

@ -16,8 +16,6 @@
{% else %}
<h1>Subscribe to {{ cl.long_name }}</h1>
{% bootstrap_messages %}
<p>Subscribe to the email list for notifications of {% if significant %}significant {% endif %}changes on {{ cl.long_name }}.</p>
<form method="post">

View file

@ -18,8 +18,6 @@
{% else %}
<h1>Cancel subscription to {{ cl.long_name }}</h1>
{% bootstrap_messages %}
<p>
Cancel your subscription to the email list for notifications of {% if significant %}significant {% endif %}changes on {{ cl.long_name }}.
</p>

View file

@ -10,8 +10,6 @@
{% origin %}
<h1>Add comment<br><small>{{ doc }}</small></h1>
{% bootstrap_messages %}
<form method="post">
{% csrf_token %}
{% bootstrap_form form %}

View file

@ -11,8 +11,6 @@
{% origin %}
<h1>Approval announcement writeup<br><small><a href="{% url "doc_view" name=doc.canonical_name %}">{{ doc }}</a></small></h1>
{% bootstrap_messages %}
<form method="post">
{% csrf_token %}
{% bootstrap_form approval_text_form %}

View file

@ -9,8 +9,6 @@
{% origin %}
<h1>Change position for {{ ad.plain_name }} regarding <br><small><a href="{% url "doc_view" name=doc.canonical_name %}">{{ doc }}</a></small></h1>
{% bootstrap_messages %}
<div class="question">{{ ballot.ballot_type.question }}</div>
{% if ballot_deferred %}

View file

@ -11,8 +11,6 @@
{% origin %}
<h1>Last call text<br><small><a href="{% url "doc_view" name=doc.canonical_name %}">{{ doc }}</a></small></h1>
{% bootstrap_messages %}
<form method="post">
{% csrf_token %}
{% bootstrap_form last_call_form %}

View file

@ -11,8 +11,6 @@
<h1>Ballot writeup and notes<br><small><a href="{% url "doc_view" name=doc.canonical_name %}">{{ doc }}</a></small></h1>
{% bootstrap_messages %}
<form method="post">
{% csrf_token %}
{% bootstrap_form ballot_writeup_form %}

View file

@ -10,8 +10,6 @@
{% origin %}
<h1>Change shepherding AD<br><small>{{titletext}}</small></h1>
{% bootstrap_messages %}
<form enctype="multipart/form-data" method="post">
{% csrf_token %}
{% bootstrap_form form %}

View file

@ -18,8 +18,6 @@
<p>The shepherd needs to have a Datatracker account. A new account can be
<a href="{% url "create_account" %}">created here</a>.</p>
{% bootstrap_messages %}
<form enctype="multipart/form-data" method="post">
{% csrf_token %}
{% bootstrap_form form %}

View file

@ -10,8 +10,6 @@
{% origin %}
<h1>Change state<br><small>{{doc.title}}</small></h1>
{% bootstrap_messages %}
<p><a class="btn btn-info" href="{{help_url}}">Help on states</a></p>
<form method="post">

View file

@ -10,8 +10,6 @@
{% origin %}
<h1>Change title<br><small>{{ titletext }}</small></h1>
{% bootstrap_messages %}
<form method="post">
{% csrf_token %}
{% bootstrap_form form %}

View file

@ -11,8 +11,6 @@
{% origin %}
<h1>{{ charter.chartered_group.type.name }} action announcement writeup<br><small>{{ charter.chartered_group.acronym }}</small></h1>
{% bootstrap_messages %}
<form method="post">
{% csrf_token %}
{% bootstrap_form announcement_text_form %}

View file

@ -11,8 +11,6 @@
<h1>Ballot writeup and notes<br><small>{{ charter.chartered_group }}</small></h1>
{% bootstrap_messages %}
<form method="post">
{% csrf_token %}
{% bootstrap_form ballot_writeup_form %}

View file

@ -12,8 +12,6 @@
{% origin %}
<h1>Change responsible AD<br><small>{{ charter.canonical_name }}-{{ charter.rev }}</small></h1>
{% bootstrap_messages %}
<form enctype="multipart/form-data" method="post">
{% csrf_token %}
{% bootstrap_form form %}

View file

@ -10,8 +10,6 @@
{% origin %}
<h1>{{ title }}</h1>
{% bootstrap_messages %}
{% if not option %}
<p><a class="btn btn-info" href="{% url "state_help" type="charter" %}">Help on states</a></p>
{% endif %}

View file

@ -11,8 +11,6 @@
{% origin %}
<h1>WG Review announcement writeup<br><small>{{ charter.chartered_group.acronym }}</small></h1>
{% bootstrap_messages %}
<form method="post">
{% csrf_token %}
{% bootstrap_form announcement_text_form %}

View file

@ -12,8 +12,6 @@
{% origin %}
<h1>Charter submission<br><small>{{ group.acronym }} {{ group.type.name }}</small></h1>
{% bootstrap_messages %}
<p class="alert alert-info">The text will be submitted as <b>charter-ietf-{{ name }}-{{ next_rev }}</b>.</p>
<form enctype="multipart/form-data" method="post">

View file

@ -10,8 +10,6 @@
{% origin %}
<h1>Approve {{ review.canonical_name }}</h1>
{% bootstrap_messages %}
<form method="post">
{% csrf_token %}
{% bootstrap_form form %}

View file

@ -12,8 +12,6 @@
{% origin %}
<h1>Begin IETF conflict review<br><small>{{doc_to_review.canonical_name}}-{{doc_to_review.rev}}</small></h1>
{% bootstrap_messages %}
{% if user|has_role:"Secretariat" %}
<p><a class="btn btn-info" href="{% url "state_help" type="conflict-review" %}">Help on states</a></p>
{% endif %}

View file

@ -12,8 +12,6 @@
{% origin %}
<h1>Edit conflict review<br><small>{{ conflictdoc.canonical_name }}-{{ conflictdoc.rev }}</small></h1>
{% bootstrap_messages %}
<p class="alert alert-info">The text will be submitted as <strong>{{ review.canonical_name }}-{{ next_rev }}</strong></p>
<form enctype="multipart/form-data" method="post">

View file

@ -10,8 +10,6 @@
{% origin %}
<h1>Change shepherding AD<br><small>{{ doc.name }}-{{ doc.rev }}</small></h1>
{% bootstrap_messages %}
<form enctype="multipart/form-data" method="post">
{% csrf_token %}
{% bootstrap_form form %}

View file

@ -10,8 +10,6 @@
{% origin %}
<h1>Change consensus<br><small>{{ doc.name }}-{{ doc.rev }}</small></h1>
{% bootstrap_messages %}
<form method="post">
{% csrf_token %}
{% bootstrap_form form %}

View file

@ -10,8 +10,6 @@
{% origin %}
<h1>Change IANA state<br><small>{{ doc }}</small></h1>
{% bootstrap_messages %}
<form method="post">
{% csrf_token %}
{% bootstrap_form form %}

View file

@ -10,8 +10,6 @@
{% origin %}
<h1>Change intended status<br><small>{{ doc }}</small></h1>
{% bootstrap_messages %}
<form method="post">
{% csrf_token %}
{% bootstrap_form form %}

View file

@ -6,8 +6,6 @@
{% block title %}Change documents replaced by {{ doc }}{% endblock %}
{% bootstrap_messages %}
{% block pagehead %}
<link rel="stylesheet" href="{% static 'select2/select2.css' %}">
<link rel="stylesheet" href="{% static 'select2-bootstrap-css/select2-bootstrap.min.css' %}">

View file

@ -12,8 +12,6 @@
{% origin %}
<h1>Edit shepherd writeup<br><small>{{ doc.canonical_name }}-{{ doc.rev }}</small></h1>
{% bootstrap_messages %}
<form enctype="multipart/form-data" method="post">
{% csrf_token %}
{% bootstrap_form form %}

View file

@ -10,8 +10,6 @@
{% origin %}
<h1>Change state<br><small>{{ doc }}</small></h1>
{% bootstrap_messages %}
<p>
<a class="btn btn-info" href="{% url "state_help" type="draft-iesg" %}">Help on states</a>
</p>

View file

@ -10,8 +10,6 @@
{% origin %}
<h1>Change stream<br><small>{{ doc }}</small></h1>
{% bootstrap_messages %}
<form method="post">
{% csrf_token %}
{% bootstrap_form form %}

View file

@ -10,8 +10,6 @@
{% origin %}
<h1>Edit IESG note<br><small>{{ doc.name }}</small></h1>
{% bootstrap_messages %}
<form method="post">
{% csrf_token %}
{% bootstrap_form form %}

View file

@ -11,8 +11,6 @@
{% origin %}
<h1>Edit info<br><small>{{ doc }}</small></h1>
{% bootstrap_messages %}
<form method="post">
{% csrf_token %}
{% bootstrap_form form %}

View file

@ -10,8 +10,6 @@
{% origin %}
<h1>Make last call<br><small>{{ doc.name }}</small></h1>
{% bootstrap_messages %}
<p class="alert alert-info">
<b>Last call for:</b>
{{ doc.name }} ({{ doc.group.acronym }}) to {{ doc.intended_std_level.name }}

View file

@ -10,8 +10,6 @@
{% origin %}
<h1>Request publication<br><small>{{ doc }}</small></h1>
{% bootstrap_messages %}
<p class="alert alert-info">
Send a publication request to the RFC Editor for {{ doc }} and move it to the <i>{{ next_state.name }}</i> stream state.
Please edit the message and remove any parts in brackets you do not

View file

@ -12,8 +12,6 @@
{% origin %}
<h1>Edit notification addresses<br><small>{{titletext}}</small></h1>
{% bootstrap_messages %}
<form enctype="multipart/form-data" method="post">
{% csrf_token %}
{% bootstrap_form form %}

View file

@ -10,8 +10,6 @@
{% origin %}
<h1>Set telechat date<br><small>{{ doc.name }} ({{ doc.pages }} page{{ doc.pages|pluralize }})</small></h1>
{% bootstrap_messages %}
{% for warning in warnings %}
<div class="alert alert-warning">{{ warning }}</div>
{% endfor %}

View file

@ -10,8 +10,6 @@
{% origin %}
<h1>Approve<br><small>{{ doc.canonical_name }}</small></h1>
{% bootstrap_messages %}
<form method="post">
{% csrf_token %}
{% bootstrap_formset formset %}

View file

@ -11,8 +11,6 @@
{% origin %}
<h1>Last call text<br><small>{{ doc }}</small></h1>
{% bootstrap_messages %}
<form class="edit-last-call-text" method="post">
{% csrf_token %}
{% bootstrap_form last_call_form %}

View file

@ -15,8 +15,6 @@
<h1>Make last call<br><small>{{doc.name}}</small></h1>
{% bootstrap_messages %}
<div class="form-group">
<label>Last call text</label>
<pre>{{ announcement }}</pre>

View file

@ -10,8 +10,6 @@
{% origin %}
<h1>Begin RFC status change review</h1>
{% bootstrap_messages %}
<p><a class="btn btn-default" href="{% url "state_help" type="status-change" %}">Help on states</a></p>
<form class="start-rfc-status-change-review" method="post">

View file

@ -10,8 +10,6 @@
{% origin %}
<h1>Edit status change text<br><small>{{doc.title}}</small></h1>
{% bootstrap_messages %}
<p>The text will be submitted as <b>{{ doc.canonical_name }}-{{ next_rev }}</b>:</p>
<form enctype="multipart/form-data" method="post">

View file

@ -10,8 +10,6 @@
{% origin %}
<h1>Request closing of {{ group.acronym }} {{ group.type.name }}</h1>
{% bootstrap_messages %}
<p>
Please provide instructions regarding the disposition of each
active Internet-Draft (such as to withdraw the draft, move it to

View file

@ -30,8 +30,6 @@
{% endif %}
</h1>
{% bootstrap_messages %}
<p class="alert alert-info">Note that persons with authorization to manage information, e.g.
chairs and delegates, need a datatracker account to actually do
so. New accounts can be <a href="{% url "create_account" %}">created here</a>.</p>

View file

@ -18,8 +18,6 @@
<noscript>This page depends on Javascript being enabled to work properly.</noscript>
{% bootstrap_messages %}
<p>Links:
<a href="{{ group.about_url }}">{{ group.acronym }} {{ group.type.name }}</a>
{% if group.charter %}

View file

@ -16,8 +16,6 @@
{% origin %}
<h1>Manage {{ group.name }} RFC stream</h1>
{% bootstrap_messages %}
<p>
<b>Chair{{ chairs|pluralize }}:</b>
{% for chair in chairs %}

View file

@ -10,8 +10,6 @@
{% origin %}
<h1>Set up test email address</h1>
{% bootstrap_messages %}
<p>Since this server is running in test mode, all email to be sent out
is intercepted and thrown away.</p>

View file

@ -12,8 +12,6 @@
<p>The comment will be added to the history trail of the disclosure.</p>
{% bootstrap_messages %}
<form class="add-comment" method="post">
{% csrf_token %}

View file

@ -12,8 +12,6 @@
<p>The email will be added to the history trail of the disclosure.</p>
{% bootstrap_messages %}
<form class="add-email" method="post">
{% csrf_token %}

View file

@ -64,7 +64,6 @@
will be posted, but will be marked as "non-compliant".
</p>
{% bootstrap_messages %}
<form class="ipr-form form-horizontal show-required" method="post">
{% csrf_token %}

View file

@ -14,8 +14,6 @@
{% origin %}
<h1>Email submitter<br><small>{{ ipr.title }}</small></h1>
{% bootstrap_messages %}
<form method="post" class="show-required">
{% csrf_token %}

View file

@ -10,8 +10,6 @@
{% origin %}
<h1>Send Notification{{ formset|pluralize }}<br><small>{{ ipr }}</small></h1>
{% bootstrap_messages %}
<form class="send-notification" method="post">
{% csrf_token %}

View file

@ -10,8 +10,6 @@
{% origin %}
<h1>Change State<br><small>{{ ipr }}</small></h1>
{% bootstrap_messages %}
<form class="add-comment" method="post">
{% csrf_token %}

View file

@ -12,8 +12,6 @@
<p>The comment will be added to the history trail of the statement.</p>
{% bootstrap_messages %}
<form class="add-comment" method="post">
{% csrf_token %}

View file

@ -23,8 +23,6 @@
<h1>{% if liaison %}Edit liaison: {{ liaison }}{% else %}Send Liaison Statement{% endif %}</h1>
{% bootstrap_messages %}
{% if form.errors %}
<div class="alert alert-danger">
<p>There were errors in the submitted form -- see below. Please correct these and resubmit.</p>

View file

@ -19,8 +19,6 @@
<h1>Edit liaison attachment</h1>
{% bootstrap_messages %}
{% if form.errors %}
<div class="alert alert-danger">
<p>There were errors in the submitted form -- see below. Please correct these and resubmit.</p>

View file

@ -18,8 +18,6 @@
{% else %}
<h1>Change password</h1>
{% bootstrap_messages %}
<p>You can change the password below for your user {{ username }} below.</p>
<form method="post">
{% csrf_token %}

View file

@ -18,8 +18,6 @@
{% else %}
<h1>Complete account creation</h1>
{% bootstrap_messages %}
<p>In order to complete the setup of your account with login name {{ email }}, please choose a password:</p>
<form method="post">
{% csrf_token %}

View file

@ -9,8 +9,6 @@
{% block content %}
{% origin %}
{% bootstrap_messages %}
{% if success %}
<h1>Account created successfully</h1>
<p>Your account creation request has been successfully received.</p>

View file

@ -10,8 +10,6 @@
{% origin %}
<h1>Sign in</h1>
{% bootstrap_messages %}
<form method="post">
{% csrf_token %}
{% bootstrap_form form %}

View file

@ -17,8 +17,6 @@
{% else %}
<h1>Password reset</h1>
{% bootstrap_messages %}
<p>Please enter an email address associated with the account for which you would like to reset the password.</p>
<form method="post">

View file

@ -11,7 +11,6 @@
{% block submit_content %}
{% origin %}
{% bootstrap_messages %}
<h2>Add pre-approval</h2>

View file

@ -15,8 +15,6 @@
{% block submit_content %}
{% origin %}
{% bootstrap_messages %}
<div class="modal fade" id="twopages" tabindex="-1" role="dialog" aria-labelledby="twopageslabel" aria-hidden="true">
<div class="modal-dialog modal-lg">
<div class="modal-content">

View file

@ -8,8 +8,6 @@
{% block submit_content %}
{% origin %}
{% bootstrap_messages %}
<p>
Please enter the name of the Internet-Draft you wish to view the
submission status of.

View file

@ -8,8 +8,6 @@
{% block submit_content %}
{% origin %}
{% bootstrap_messages %}
{% if form.shutdown and user|has_role:"Secretariat" %}
<p class="bg-warning">WARNING: currently in draft submission blackout period</p>
{% endif %}