Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
edit user: Place deactivate button outside the `form` element in modal.
Ganesh Pawar0b2c1492687c
diff --git a/static/templates/settings/admin_human_form.hbs b/static/templates/settings/admin_human_form.hbsindex 30e29458003..adca8949530 100644--- a/static/templates/settings/admin_human_form.hbs+++ b/static/templates/settings/admin_human_form.hbs@@ -24,10 +24,10 @@</select></div><div class="custom-profile-field-form"></div>- <div class="input-group new-style">- <button class="button rounded btn-danger deactivate_user_button">- {{t 'Deactivate user' }}- </button>- </div></form>+ <div class="input-group new-style">+ <button class="button rounded btn-danger deactivate_user_button">+ {{t 'Deactivate user' }}+ </button>+ </div></div>diff --git a/static/templates/settings/edit_bot_form.hbs b/static/templates/settings/edit_bot_form.hbsindex 19c4cf3246b..178eb4191a0 100644--- a/static/templates/settings/edit_bot_form.hbs+++ b/static/templates/settings/edit_bot_form.hbs@@ -37,10 +37,10 @@<button type="button" class="button white rounded edit_bot_avatar_clear_button" style="display: none;">{{t "Clear profile picture" }}</button><div><label for="edit_bot_avatar_file" generated="true" class="edit_bot_avatar_error text-error"></label></div></div>- <div class="input-group new-style">- <button class="button rounded btn-danger deactivate_bot_button">- {{t 'Deactivate bot' }}- </button>- </div></form>+ <div class="input-group new-style">+ <button class="button rounded btn-danger deactivate_bot_button">+ {{t 'Deactivate bot' }}+ </button>+ </div></div>