upgrade: Move error fields under the purchase button.

This commit is contained in:
Aman Agrawal 2023-11-11 06:47:45 +00:00 committed by Tim Abbott
parent 7d10b3dcf7
commit 6158411ecb
1 changed files with 6 additions and 7 deletions

View File

@ -30,12 +30,6 @@
</div>
{% endif %}
{% if error_message %}
<div class="alert alert-danger" id="upgrade-error-message-box">
{{ error_message }}
</div>
{% endif %}
<input type="hidden" name="csrfmiddlewaretoken" value="{{ csrf_token }}" />
<form id="autopay-form">
<input type="hidden" name="seat_count" value="{{ seat_count }}" />
@ -51,7 +45,6 @@
<h2>Zulip Cloud Standard free trial</h2>
{% endif %}
<div class="input-box upgrade-page-field no-validation">
<div id="autopay-error" class="alert alert-danger"></div>
{% if free_trial_days %}
<p>
You won't be charged during the free trial. You can also downgrade to
@ -135,8 +128,14 @@
</span>
<object class="loader upgrade-button-loader" type="image/svg+xml" data="{{ static('images/loading/loader-white.svg') }}"></object>
</button>
<div id="autopay-error" class="alert alert-danger upgrade-page-error"></div>
</div>
</form>
{% if error_message %}
<div class="alert alert-danger" id="upgrade-error-message-box">
{{ error_message }}
</div>
{% endif %}
<div class="input-box upgrade-page-field">
<div class="support-link not-editable-realm-field">
To pay by invoice or for any other questions, contact <a href="mailto:sales@zulip.com">sales@zulip.com</a>.