diff --git a/templates/edit_quest.html b/templates/edit_quest.html new file mode 100644 index 0000000..83bb9ee --- /dev/null +++ b/templates/edit_quest.html @@ -0,0 +1,30 @@ +{% extends "base.html" %} +{% block title %}Edit {{ quest_title }}{% endblock %} +{% block content %} +
+ | {{ quest_title }} |
{% for quest_post in quest_posts %}
diff --git a/views.py b/views.py
index b3bc69d..535e253 100644
--- a/views.py
+++ b/views.py
@@ -65,6 +65,7 @@ def quest(quest_title):
messages = db.get_chat_messages(quest_id)
return render_template('quest.html',
quest_title=quest_title,
+ ident_title=ident_title,
quest_posts=quest_posts,
owner_id=owner_id,
room_id=quest_id,
@@ -111,12 +112,20 @@ def create_quest():
return redirect(url_for('.quest', quest_title=ident_title))
-@views.route("/edit_quest")
-def edit_quest():
+@views.route("/quest/ |