Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
templates: Remove "no-validation" class.
Lauryn Menard8c51d8d5d0cb
diff --git a/templates/corporate/billing/billing.html b/templates/corporate/billing/billing.htmlindex 3f3d572b82a..caaa410066f 100644--- a/templates/corporate/billing/billing.html+++ b/templates/corporate/billing/billing.html@@ -41,7 +41,7 @@<input type="hidden" name="csrfmiddlewaretoken" value="{{ csrf_token }}" /><div class="white-box"><div id="billing-page-details">- <div class="input-box billing-page-field no-validation">+ <div class="input-box billing-page-field"><label for="org-current-plan" class="inline-block label-title">Your plan</label><div id="org-current-plan" class="not-editable-realm-field">{% if free_trial or downgrade_at_end_of_free_trial %}@@ -61,13 +61,13 @@</div></div>{% if is_server_on_legacy_plan %}- <div class="input-box billing-page-field no-validation" id="legacy-server-push-notification-notice-wrapper">+ <div class="input-box billing-page-field" id="legacy-server-push-notification-notice-wrapper"><div id="legacy-server-push-notification-notice" class="not-editable-realm-field"><i>This is a legacy plan that ends on {{ remote_server_legacy_plan_end_date }}.</i></div></div>{% endif %}- <div class="input-box billing-page-field no-validation org-billing-frequency-wrapper"+ <div class="input-box billing-page-field org-billing-frequency-wrapper"data-current-billing-frequency="{{ billing_frequency }}"{%if free_trial %}data-free-trial="true"{% endif %}{%if downgrade_at_end_of_cycle %}data-downgrade-eoc="true"{% endif %}@@ -108,7 +108,7 @@</div>{% if is_server_on_legacy_plan or fixed_price_plan %}{% elif automanage_licenses %}- <div class="input-box billing-page-field no-validation">+ <div class="input-box billing-page-field"><label for="automatic-license-count" class="inline-block label-title">Number of licenses{% if is_self_hosted_billing %}@@ -134,7 +134,7 @@</div>{% else %}{% if not (free_trial or downgrade_at_end_of_free_trial) %}- <div class="input-box billing-page-field no-validation input-box-number">+ <div class="input-box billing-page-field input-box-number"><label for="current-manual-license-count" class="inline-block label-title">Number of licenses for current billing period{% if is_self_hosted_billing %}@@ -168,7 +168,7 @@</div>{% endif %}{% if not (downgrade_at_end_of_cycle or downgrade_at_end_of_free_trial) %}- <div class="input-box billing-page-field no-validation input-box-number">+ <div class="input-box billing-page-field input-box-number"><label for="next-manual-license-count" class="inline-block label-title">Number of licenses for next billing period{% if is_self_hosted_billing %}@@ -199,20 +199,20 @@<input name="toggle_license_management" type="hidden" value="true" /></form><div id="toggle-license-management-error" class="alert alert-danger"></div>- <div class="input-box no-validation billing-page-field">+ <div class="input-box billing-page-field"><label for="billing-contact" class="inline-block label-title">Billing contact</label><div id="billing-contact" class="not-editable-realm-field"><a href="mailto:{{ stripe_email }}">{{ stripe_email }}</a></div></div><div id="cardchange-error" class="alert alert-danger"></div>- <div class="input-box billing-page-field no-validation">+ <div class="input-box billing-page-field"><label for="customer-payment-method" class="inline-block label-title">Payment method</label><div id="customer-payment-method" class="not-editable-realm-field">{{ payment_method }}</div>{% if charge_automatically %}- <div class="user-stripe-card-update input-box billing-page-field no-validation">+ <div class="user-stripe-card-update input-box billing-page-field"><button class="user-stripe-card-update-button" id="update-card-button"><span class="billing-button-text">Update card</span><object class="loader billing-button-loader" type="image/svg+xml" data="{{ static('images/loading/loader-white.svg') }}"></object>@@ -224,7 +224,7 @@<a href="{{ billing_base_url }}/customer_portal/?return_to_billing_page=true">View and update</a> billing information that will be displayed on your next invoice and receipt.</div></div>- <div class="input-box billing-page-field no-validation">+ <div class="input-box billing-page-field"><div class="next-payment-info not-editable-realm-field">{% if renewal_amount %}{% if downgrade_at_end_of_cycle %}@@ -316,7 +316,7 @@{% endif %}</div></div>- <div class="input-box billing-page-field no-validation">+ <div class="input-box billing-page-field"><label class="inline-block label-title">Invoices</label><div class="not-editable-realm-field"><a href="{{ billing_base_url }}/invoices/">@@ -333,14 +333,14 @@<div id="planchange-error" class="alert alert-danger"></div><div id="planchange-input-section">{% if free_trial and not downgrade_at_end_of_free_trial %}- <div class="end-free-trial plan-toggle-action input-box billing-page-field no-validation" id="end-free-trial">+ <div class="end-free-trial plan-toggle-action input-box billing-page-field" id="end-free-trial"><button class="end-free-trial-button plan-toggle-action-button"><span class="billing-button-text">Cancel plan</span><object class="loader billing-button-loader" type="image/svg+xml" data="{{ static('images/loading/loader-white.svg') }}"></object></button></div>{% elif downgrade_at_end_of_cycle or downgrade_at_end_of_free_trial %}- <div class="reactivate-current-plan plan-toggle-action input-box billing-page-field no-validation" id="reactivate-subscription">+ <div class="reactivate-current-plan plan-toggle-action input-box billing-page-field" id="reactivate-subscription"><button class="reactivate-current-plan-button plan-toggle-action-button"><span class="billing-button-text">{% if downgrade_at_end_of_free_trial %}@@ -353,14 +353,14 @@</button></div>{% elif is_server_on_legacy_plan %}- <div class="plan-toggle-action input-box billing-page-field no-validation" id="cancel-legacy-server-upgrade">+ <div class="plan-toggle-action input-box billing-page-field" id="cancel-legacy-server-upgrade"><button class="cancel-legacy-server-upgrade-button plan-toggle-action-button"><span class="billing-button-text">Cancel upgrade</span><object class="loader billing-button-loader" type="image/svg+xml" data="{{ static('images/loading/loader-white.svg') }}"></object></button></div>{% else %}- <div class="cancel-current-plan plan-toggle-action input-box billing-page-field no-validation" id="cancel-subscription">+ <div class="cancel-current-plan plan-toggle-action input-box billing-page-field" id="cancel-subscription"><button class="plan-toggle-action-button {% if is_self_hosted_billing %}cancel-current-self-hosted-plan-button{% else %}cancel-current-cloud-plan-button{% endif %}"><span class="billing-button-text">Cancel plan</span><object class="loader billing-button-loader" type="image/svg+xml" data="{{ static('images/loading/loader-white.svg') }}"></object>diff --git a/templates/corporate/billing/legacy_server_login.html b/templates/corporate/billing/legacy_server_login.htmlindex 029cb3cd286..d77d9fbd725 100644--- a/templates/corporate/billing/legacy_server_login.html+++ b/templates/corporate/billing/legacy_server_login.html@@ -21,7 +21,7 @@{% if next_page %}<input type="hidden" name="next_page" value="{{ next_page }}" />{% endif %}- <div id="server-login-form-title" class="input-box server-login-form no-validation">+ <div id="server-login-form-title" class="input-box server-login-form"><div class="not-editable-realm-field">To access plan management for a Zulipserver, first enter <a href="https://zulip.readthedocs.io/en/stable/production/mobile-push-notifications.html#plan-management-for-an-entire-zulip-server">your server's credentials</a>.diff --git a/templates/corporate/billing/remote_billing_confirm_email_form.html b/templates/corporate/billing/remote_billing_confirm_email_form.htmlindex 2c15a555cd6..2269f1f6ac3 100644--- a/templates/corporate/billing/remote_billing_confirm_email_form.html+++ b/templates/corporate/billing/remote_billing_confirm_email_form.html@@ -25,7 +25,7 @@{% if next_page %}<input type="hidden" name="next_page" value="{{ next_page }}" />{% endif %}- <div class="input-box server-login-form-field no-validation" id="remote-billing-confirm-email-intro">+ <div class="input-box server-login-form-field" id="remote-billing-confirm-email-intro"><div class="not-editable-realm-field">{% if remote_server_hostname %}Enter the email address of the person who is logging in to manage plans and billing for this server (yourself or someone else). They will receive an email from Zulip with a log in link.diff --git a/templates/corporate/billing/remote_billing_finalize_login_confirmation.html b/templates/corporate/billing/remote_billing_finalize_login_confirmation.htmlindex e22b2a8b83b..fae5c163c4d 100644--- a/templates/corporate/billing/remote_billing_finalize_login_confirmation.html+++ b/templates/corporate/billing/remote_billing_finalize_login_confirmation.html@@ -35,7 +35,7 @@</div>{% endif %}</div>- <div class="input-box remote-billing-confirm-login-form-field no-validation">+ <div class="input-box remote-billing-confirm-login-form-field"><label for="user-email" class="inline-block label-title"></label>diff --git a/templates/corporate/billing/remote_billing_server_deactivate.html b/templates/corporate/billing/remote_billing_server_deactivate.htmlindex e81f004554b..406f9d64df7 100644--- a/templates/corporate/billing/remote_billing_server_deactivate.html+++ b/templates/corporate/billing/remote_billing_server_deactivate.html@@ -24,7 +24,7 @@{% endif %}<form id="server-deactivate-form" method="post" action="{{ action_url }}">{{ csrf_input }}- <div id="server-deactivate-form-top-description" class="input-box server-deactivate-form-field no-validation">+ <div id="server-deactivate-form-top-description" class="input-box server-deactivate-form-field"><div class="not-editable-realm-field">You are about to deactivate this server'sregistration withdiff --git a/templates/corporate/billing/remote_billing_server_deactivated_success.html b/templates/corporate/billing/remote_billing_server_deactivated_success.htmlindex 977418fcc6c..0e51405a265 100644--- a/templates/corporate/billing/remote_billing_server_deactivated_success.html+++ b/templates/corporate/billing/remote_billing_server_deactivated_success.html@@ -15,7 +15,7 @@</div><div class="white-box"><div id="account-deactivated-success-page-details">- <div class="input-box account-deactivated-success-page-field no-validation" id="account-deactivated-success-page-top-message">+ <div class="input-box account-deactivated-success-page-field" id="account-deactivated-success-page-top-message"><div class="not-editable-realm-field">Your server's registration has been deactivated.</div>diff --git a/templates/corporate/billing/sponsorship.html b/templates/corporate/billing/sponsorship.htmlindex 217bf3092d8..a0c83b2e8b5 100644--- a/templates/corporate/billing/sponsorship.html+++ b/templates/corporate/billing/sponsorship.html@@ -49,7 +49,7 @@</div><div class="white-box"><div id="sponsorship-status-page-details">- <div class="input-box sponsorship-form-field no-validation">+ <div class="input-box sponsorship-form-field"><label for="sponsored-org-current-plan" class="inline-block label-title">Your plan</label><div id="sponsored-org-current-plan" class="not-editable-realm-field">{% if is_sponsored %}@@ -102,7 +102,7 @@<div id="sponsorship-input-section"><form id="sponsorship-form" method="post" data-billing-base-url="{{ billing_base_url }}" data-is-remotely-hosted="{{ is_remotely_hosted }}"><input type="hidden" name="csrfmiddlewaretoken" value="{{ csrf_token }}" />- <div class="input-box sponsorship-form-field no-validation">+ <div class="input-box sponsorship-form-field"><label for="org-name" class="inline-block label-title">Organization</label><div id="org-name" class="not-editable-realm-field">{{ org_name }}</div></div>@@ -148,7 +148,7 @@<label for="organization-requested-plan" class="inline-block label-title">Requested plan</label></div>{% endif %}- <div class="input-box sponsorship-form-field no-validation">+ <div class="input-box sponsorship-form-field"><label for="org-website" class="inline-blocklabel-title">Organization website (if any)</label><input id="org-website" name="website" type="text"/>@@ -165,7 +165,7 @@<input id="expected-total-users" name="expected_total_users" type="text" /><div id="sponsorship-expected-total-users-error" class="alert alert-danger sponsorship-field-error"></div></div>- <div class="input-box sponsorship-form-field no-validation">+ <div class="input-box sponsorship-form-field"><label for="paid-users-count" class="inline-block label-title">How many paid staff does your organization have?</label><input id="paid-users-count" name="paid_users_count" type="text"/><div id="sponsorship-paid-users-count-error" class="alert alert-danger sponsorship-field-error"></div>diff --git a/templates/corporate/billing/upgrade.html b/templates/corporate/billing/upgrade.htmlindex c1e69f50a13..f4c0b5b789d 100644--- a/templates/corporate/billing/upgrade.html+++ b/templates/corporate/billing/upgrade.html@@ -99,7 +99,7 @@{% if page_params.free_trial_days and not page_params.setup_payment_by_invoice %}<input type="hidden" name="schedule" value="monthly" />{% else %}- <div class="input-box upgrade-page-field no-validation">+ <div class="input-box upgrade-page-field"><select name="schedule" id="payment-schedule-select">{% if fixed_price_plan %}<option value="monthly">Pay monthly</option>@@ -114,7 +114,7 @@{% endif %}{% if remote_server_legacy_plan_end_date %}- <div class="input-box upgrade-page-field no-validation">+ <div class="input-box upgrade-page-field"><select name="remote_server_plan_start_date" id="remote-server-plan-start-date-select"><option value="billing_cycle_end_date">{{ remote_server_legacy_plan_end_date }}</option><option value="today">Today</option>@@ -135,7 +135,7 @@{% endif %}{% if remote_server_legacy_plan_end_date %}- <div class="input-box upgrade-page-field no-validation" id="due-today-for-future-update-wrapper">+ <div class="input-box upgrade-page-field" id="due-today-for-future-update-wrapper"><label for="due-today-for-future-update" class="inline-block label-title">Due today</label>@@ -145,7 +145,7 @@</div>{% endif %}- <div class="input-box upgrade-page-field no-validation">+ <div class="input-box upgrade-page-field"><label for="due-today" class="inline-block label-title">{% if remote_server_legacy_plan_end_date %}<span id="due-today-remote-server-title">@@ -240,7 +240,7 @@<div {% if page_params.setup_payment_by_invoice %} id="update-invoice-billing-info" {% elif payment_method %} id="upgrade-payment-info"{% endif %}>{% if page_params.setup_payment_by_invoice %}{% elif payment_method %}- <div class="input-box upgrade-page-field no-validation" id="upgrade-payment-menthod-wrapper">+ <div class="input-box upgrade-page-field" id="upgrade-payment-menthod-wrapper"><label for="customer-payment-method-for-upgrade" class="inline-block label-title">Payment method</label><div id="customer-payment-method-for-upgrade" class="not-editable-realm-field">{{ payment_method }}diff --git a/templates/corporate/support/support_request.html b/templates/corporate/support/support_request.htmlindex 66c2de92739..b0e2dcec161 100644--- a/templates/corporate/support/support_request.html+++ b/templates/corporate/support/support_request.html@@ -13,11 +13,11 @@{{ csrf_input }}<fieldset class="support-request">- <div class="input-box no-validation support-form-field">+ <div class="input-box support-form-field"><label for="support_from" class="inline-block label-title">{{ _('From') }}</label><div id="support_from">{{ email }}</div></div>- <div class="input-box no-validation support-form-field">+ <div class="input-box support-form-field"><label for="support_realm" class="inline-block label-title">{{ _('Organization') }}</label><div id="support_realm">{{ realm_name }}</div></div>diff --git a/templates/two_factor/_wizard_forms.html b/templates/two_factor/_wizard_forms.htmlindex 4c0aab440e2..0e08baaf641 100644--- a/templates/two_factor/_wizard_forms.html+++ b/templates/two_factor/_wizard_forms.html@@ -16,7 +16,7 @@{% endif %}{% for field in wizard.form %}-<div class="input-box no-validation">+<div class="input-box">{{ field }}<label for="{{ field.id_for_label }}">{{ field.label }}</label></div>diff --git a/templates/zerver/login.html b/templates/zerver/login.htmlindex 147d6c5db9a..c837f75e75a 100644--- a/templates/zerver/login.html+++ b/templates/zerver/login.html@@ -86,9 +86,8 @@ page can be easily identified in it's respective JavaScript file. -->{% endif %}{{ csrf_input }}- <!-- .no-validation is for removing the red star in CSS -->{% if not two_factor_authentication_enabled or wizard.steps.current == 'auth' %}- <div class="input-box no-validation">+ <div class="input-box"><input id="id_username" type="{% if not require_email_format_usernames %}text{% else %}email{% endif %}"name="username" class="{% if require_email_format_usernames %}email {% endif %}required"{% if email %} value="{{ email }}" {% else %} value="" autofocus {% endif %}@@ -104,7 +103,7 @@ page can be easily identified in it's respective JavaScript file. --></label></div>- <div class="input-box no-validation password-div">+ <div class="input-box password-div"><input id="id_password" name="password" class="required" type="password" autocomplete="off"{% if email %} autofocus {% endif %}required />diff --git a/templates/zerver/register.html b/templates/zerver/register.htmlindex 394c128cd57..c149d391b55 100644--- a/templates/zerver/register.html+++ b/templates/zerver/register.html@@ -77,7 +77,7 @@ Form is validated both client-side using jquery-validation (see signup.js) and s</div>{% endif %}- <div class="input-box no-validation">+ <div class="input-box"><input type='hidden' name='key' value='{{ key }}' /><input type='hidden' name='timezone' id='timezone'/><label for="id_email" class="inline-block label-title">{{ _('Email') }}</label>