diff --git a/application/dash/templates/add_service.html b/application/dash/templates/add_service.html new file mode 100644 index 0000000..be0e36f --- /dev/null +++ b/application/dash/templates/add_service.html @@ -0,0 +1,24 @@ +{% extends 'base_template.html' %} + +{% block title %} +Add service +{% endblock %} + +{% block content %} +{% if feedback %} +
{{feedback}}
+{% endif %} + + +{% endblock %} \ No newline at end of file diff --git a/application/dash/views.py b/application/dash/views.py index 5f0fa1f..fa75dbe 100644 --- a/application/dash/views.py +++ b/application/dash/views.py @@ -26,5 +26,4 @@ def admin(): password = register_form.password.data check_admin = register_form.admin.data - - return render_template("admin.html") + return render_template("admin.html", form=register_form)