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)
|
||||
return redirect(url_for('workshop'))
|
||||
|
||||
if 'NewScenarioName' in request.form:
|
||||
print('писька коня')
|
||||
# if 'NewScenarioName' in request.form:
|
||||
|
||||
if 'TGUsername' in request.form:
|
||||
new_tg_username = request.form['TGUsername']
|
||||
@@ -81,7 +80,6 @@ def workshop():
|
||||
User = db_routing.get_user(id=current_user.get_id())
|
||||
if User:
|
||||
tg_username = User.tg_username
|
||||
print(tg_username)
|
||||
else:
|
||||
tg_username = None
|
||||
return render_template('workshop.html', triggers_list=triggers_list, actions_list=actions_list,
|
||||
|
||||
@@ -51,7 +51,7 @@
|
||||
<div class="form__field-title" >
|
||||
Название
|
||||
</div>
|
||||
<input type="text" class="form__input-text" placeholder="Введите название сбытия" name = "NewScenarioName">
|
||||
<input type="text" class="form__input-text" placeholder="Название нового сценария" name = "NewScenarioName">
|
||||
</label>
|
||||
<label class="form__log">
|
||||
<div class="form__field-title" >
|
||||
|
||||
Reference in New Issue
Block a user