Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
templates: Rename ID for form element in create_realm.html.
Sahil Batra5eeef1483da7
diff --git a/templates/zerver/create_realm.html b/templates/zerver/create_realm.htmlindex b293cc9b09a..126625f3600 100644--- a/templates/zerver/create_realm.html+++ b/templates/zerver/create_realm.html@@ -16,7 +16,7 @@<h1 class="get-started">{{ _("Create a new Zulip organization") }}</h1></div><div class="white-box">- <form class="form-inline" id="send_confirm" name="email_form"+ <form class="form-inline" id="create_realm" name="email_form"action="{{ current_url() }}" method="post">{{ csrf_input }}<div class="input-box horizontal">diff --git a/web/e2e-tests/realm-creation.test.ts b/web/e2e-tests/realm-creation.test.tsindex 24225dfb6db..c921557fcc9 100644--- a/web/e2e-tests/realm-creation.test.ts+++ b/web/e2e-tests/realm-creation.test.ts@@ -17,7 +17,7 @@ async function realm_creation_tests(page: Page): Promise<void> {await page.type("#email", email);await Promise.all([page.waitForNavigation(),- page.$eval("#send_confirm", (form) => (form as HTMLFormElement).submit()),+ page.$eval("#create_realm", (form) => (form as HTMLFormElement).submit()),]);// Make sure confirmation email is sent.diff --git a/web/src/portico/signup.js b/web/src/portico/signup.jsindex 330082263f7..6bbca8bb0ea 100644--- a/web/src/portico/signup.js+++ b/web/src/portico/signup.js@@ -133,7 +133,7 @@ $(() => {$("input[name='next']").attr("value", next_value + window.location.hash);}- $("#send_confirm").validate({+ $("#send_confirm", "#create_realm").validate({errorElement: "div",errorPlacement($error) {$(".email-frontend-error").empty();