From 2c435e6b2b07dcfaef7b41daa49d5ad64e312b00 Mon Sep 17 00:00:00 2001 From: deflax Date: Sun, 22 Apr 2018 15:01:58 +0300 Subject: [PATCH] more bugfix --- app/panel/routes.py | 2 +- app/templates/livesupport/support_item.html | 2 +- app/templates/livesupport/support_list.html | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/panel/routes.py b/app/panel/routes.py index 4fd1568..d8d2f57 100644 --- a/app/panel/routes.py +++ b/app/panel/routes.py @@ -3,7 +3,7 @@ from flask_login import login_required, login_user, logout_user, current_user from flask_sqlalchemy import get_debug_queries from . import panel -from .forms import OrderForm, MessageForm +from .forms import OrderForm from .. import db from ..email import send_email from ..models import User, Permission, Recipe, Order, Server, Deployment, Service, Region, Address, Domain, contact_proxmaster diff --git a/app/templates/livesupport/support_item.html b/app/templates/livesupport/support_item.html index ef1b5e4..391df26 100644 --- a/app/templates/livesupport/support_item.html +++ b/app/templates/livesupport/support_item.html @@ -25,7 +25,7 @@ {% endfor %} {% endif %} -
+ {{ form.line | safe }} {% for error in form.line.errors %} {{ error }}
diff --git a/app/templates/livesupport/support_list.html b/app/templates/livesupport/support_list.html index a4ee8b7..cbb26b6 100644 --- a/app/templates/livesupport/support_list.html +++ b/app/templates/livesupport/support_list.html @@ -25,7 +25,7 @@ $('a[data-toggle="tooltip"]').tooltip({
{{ support.hashtag }}

- {% include "panel/support_item.html" %} + {% include "livesupport/support_item.html" %}