settings: Rename admin_bot_form.hbs to edit_bot_form.hbs.

We rename the file because in further commits we will use
the same modal for the bot edit form in Personal settings
section and that can be done by bot-owners who are not
admins.
This commit is contained in:
Sahil Batra 2022-07-06 15:31:10 +05:30 committed by Tim Abbott
parent a57358c5be
commit 45f0a138c3
2 changed files with 2 additions and 2 deletions

View File

@ -3,9 +3,9 @@ import $ from "jquery";
import render_settings_deactivation_bot_modal from "../templates/confirm_dialog/confirm_deactivate_bot.hbs";
import render_settings_deactivation_user_modal from "../templates/confirm_dialog/confirm_deactivate_user.hbs";
import render_settings_reactivation_user_modal from "../templates/confirm_dialog/confirm_reactivate_user.hbs";
import render_admin_bot_form from "../templates/settings/admin_bot_form.hbs";
import render_admin_human_form from "../templates/settings/admin_human_form.hbs";
import render_admin_user_list from "../templates/settings/admin_user_list.hbs";
import render_edit_bot_form from "../templates/settings/edit_bot_form.hbs";
import * as blueslip from "./blueslip";
import * as bot_data from "./bot_data";
@ -641,7 +641,7 @@ function handle_bot_form($tbody) {
return;
}
const html_body = render_admin_bot_form({
const html_body = render_edit_bot_form({
user_id,
email: bot.email,
full_name: bot.full_name,