2021-07-18 08:43:09 +02:00
|
|
|
<form id="edit_bot_form" class="new-style edit_bot_form form-horizontal" data-target="edit-bot" data-title="{{t 'Edit bot' }}" data-user-id="{{bot.user_id}}"
|
2018-04-05 08:38:46 +02:00
|
|
|
data-email="{{bot.email}}" data-type="{{bot.bot_type}}">
|
2018-02-07 10:34:52 +01:00
|
|
|
<div class="bot_edit_errors alert alert-error hide"></div>
|
2021-07-18 08:43:09 +02:00
|
|
|
<div>
|
|
|
|
<div>
|
2020-03-10 11:08:00 +01:00
|
|
|
<label>{{t "Bot email" }}</label>
|
|
|
|
<div class="edit_bot_email">{{bot.email}}</div>
|
2018-02-07 10:34:52 +01:00
|
|
|
</div>
|
2020-03-10 11:08:00 +01:00
|
|
|
<div class="edit-bot-form-box">
|
|
|
|
<div class="edit-bot-owner">
|
2021-03-29 21:11:25 +02:00
|
|
|
<label>{{t "Owner" }}</label>
|
2021-05-14 21:38:39 +02:00
|
|
|
{{> dropdown_list_widget
|
2020-05-19 21:52:27 +02:00
|
|
|
widget_name="bot_owner"
|
2022-02-17 17:50:51 +01:00
|
|
|
list_placeholder=(t 'Filter users')}}
|
2020-03-10 11:08:00 +01:00
|
|
|
</div>
|
2021-04-12 21:14:40 +02:00
|
|
|
<div class="edit-bot-name">
|
2020-06-04 22:16:23 +02:00
|
|
|
<label for="edit_bot_name">{{t "Full name" }}</label>
|
|
|
|
<input id="edit_bot_name" type="text" name="bot_name" class="edit_bot_name required" value="{{bot.full_name}}" maxlength=50 />
|
|
|
|
<div><label for="edit_bot_name" generated="true" class="text-error"></label></div>
|
|
|
|
</div>
|
2020-03-10 11:08:00 +01:00
|
|
|
<div id="service_data">
|
|
|
|
</div>
|
|
|
|
<div class="avatar-section">
|
|
|
|
<label for="bot_avatar_file_input">Avatar</label>
|
|
|
|
<input type="file" name="bot_avatar_file_input" class="notvisible edit_bot_avatar_file_input" value="{{t 'Upload profile picture' }}" />
|
|
|
|
<div class="edit_bot_avatar_file"></div>
|
|
|
|
<button type="button" class="button white rounded edit_bot_avatar_upload_button">{{t "Choose avatar" }}</button>
|
|
|
|
<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>
|
2018-02-07 15:58:53 +01:00
|
|
|
</div>
|
2018-02-07 10:34:52 +01:00
|
|
|
</div>
|
2020-03-10 11:08:00 +01:00
|
|
|
</div>
|
2018-02-07 10:34:52 +01:00
|
|
|
</form>
|