mirror of
https://github.com/Llloooggg/Jarvis.git
synced 2026-03-06 03:56:23 +03:00
Исправлены опечатки
This commit is contained in:
@@ -67,8 +67,7 @@ def workshop():
|
|||||||
actionArgs)
|
actionArgs)
|
||||||
return redirect(url_for('workshop'))
|
return redirect(url_for('workshop'))
|
||||||
|
|
||||||
if 'NewScenarioName' in request.form:
|
# if 'NewScenarioName' in request.form:
|
||||||
print('писька коня')
|
|
||||||
|
|
||||||
if 'TGUsername' in request.form:
|
if 'TGUsername' in request.form:
|
||||||
new_tg_username = request.form['TGUsername']
|
new_tg_username = request.form['TGUsername']
|
||||||
@@ -81,7 +80,6 @@ def workshop():
|
|||||||
User = db_routing.get_user(id=current_user.get_id())
|
User = db_routing.get_user(id=current_user.get_id())
|
||||||
if User:
|
if User:
|
||||||
tg_username = User.tg_username
|
tg_username = User.tg_username
|
||||||
print(tg_username)
|
|
||||||
else:
|
else:
|
||||||
tg_username = None
|
tg_username = None
|
||||||
return render_template('workshop.html', triggers_list=triggers_list, actions_list=actions_list,
|
return render_template('workshop.html', triggers_list=triggers_list, actions_list=actions_list,
|
||||||
|
|||||||
@@ -51,7 +51,7 @@
|
|||||||
<div class="form__field-title" >
|
<div class="form__field-title" >
|
||||||
Название
|
Название
|
||||||
</div>
|
</div>
|
||||||
<input type="text" class="form__input-text" placeholder="Введите название сбытия" name = "NewScenarioName">
|
<input type="text" class="form__input-text" placeholder="Название нового сценария" name = "NewScenarioName">
|
||||||
</label>
|
</label>
|
||||||
<label class="form__log">
|
<label class="form__log">
|
||||||
<div class="form__field-title" >
|
<div class="form__field-title" >
|
||||||
|
|||||||
Reference in New Issue
Block a user