+
{{ topic.name }}
+
+ {% include 'forum/related_lesson_info.html' with lesson=topic.edumed_topic.lesson %}
+
+ {% with _('Posts') as label %}
+ {% include "pybb/pagination.html" %}
+ {% endwith %}
+
+ {% if topic.poll_type %}
+ {% include 'pybb/poll.html' %}
+ {% endif %}
+
+
+ {% if first_post %}{% ifnotequal first_post post_list.0 %}
+ {% with first_post as post %}
+
{% include "pybb/post_template.html" %}
+ {% endwith %}
+ {% endifnotequal %}{% endif %}
+ {% for post in post_list %}
+ {% cycle 'odd' 'even' as rowcolors silent %}
+ {% include "pybb/post_template.html" %}
+ {% endfor %}
+
+
+ {% with _('Posts') as label %}
+ {% include "pybb/pagination.html" %}
+ {% endwith %}
+
+ {% if user.is_authenticated %}
+
+ {% endif %}
+
+ {% if user.is_authenticated or PYBB_ENABLE_ANONYMOUS_POST %}
+ {% pybb_get_profile user=user as user_profile %}
+
+ {% if not user_profile.is_banned %}
+ {% if not topic.closed %}
+ {% include "pybb/post_form.html" %}
+ {% endif %}
+ {% endif %}
+ {% else %}
+ {% include 'pybb/_need_to_login_message.html' %}
+ {% endif %}
+
+ {% if user.is_staff %}
+
+ {% endif %}
+
+{% endblock %}
diff --git a/forum/urls.py b/forum/urls.py
new file mode 100644
index 0000000..a0135fb
--- /dev/null
+++ b/forum/urls.py
@@ -0,0 +1,9 @@
+from django.conf.urls import patterns, include, url
+
+from .views import AddPostView, EditPostView
+
+
+urlpatterns = patterns('',
+ url(r'^forum/(?P