billing: Add location for errors on billing page.

This adds a location for error messages to the billing page,
using the standard error styling.
This commit is contained in:
Max Nussenbaum 2018-08-04 11:22:30 -04:00 committed by Rishi Gupta
parent e0bd719f5c
commit 570b9515c6
2 changed files with 7 additions and 0 deletions

View File

@ -19,6 +19,12 @@
<div class="page-content"> <div class="page-content">
<div class="main"> <div class="main">
{% if error_message %}
<div class="alert alert-danger" id="error-message-box">
{{ error_message }}
</div>
{% endif %}
<h1>{{ _("Billing") }}</h1> <h1>{{ _("Billing") }}</h1>
{% if admin_access %} {% if admin_access %}
<ul class="nav nav-tabs" id="billing-tabs"> <ul class="nav nav-tabs" id="billing-tabs">

View File

@ -55,6 +55,7 @@ def check_html_templates(templates, all_dups):
IGNORE_IDS = [ IGNORE_IDS = [
'api-example-tabs', 'api-example-tabs',
'errors', 'errors',
'error-message-box',
'email', 'email',
'messages', 'messages',
'registration', 'registration',