<%! from django.core.urlresolvers import reverse %>

<%
def url_for_search():
  return reverse('django_comment_client.forum.views.search', args=[course_id])
%>

<form action="${url_for_search()}" method="get" class="discussion-search-form">
  <input class="search-input" type="text" value="${text}" id="keywords" autocomplete="off"/>
  <div class="discussion-link" href="javascript:void(0)">Search posts</div>
</form>
