%namespace name="renderer" file="_thread.html"/> Discussion <%include file="_search_bar.html" /> Search within board New Post <%include file="_sort.html" /> % for thread in threads: ${renderer.render_thread(course_id, thread, show_comments=False)} % endfor <%include file="_paginator.html" /> <%! def escape_quotes(text): return text.replace('\"', '\\\"').replace("\'", "\\\'") %>