<%! from django.utils.translation import ugettext as _ %>

<section class="discussion" data-discussion-id="{{discussionId}}">
    <article class="new-post-article">
        <span class="topic"  data-discussion-id="{{discussionId}}" />
        <div class="inner-wrapper">
            <div class="new-post-form-errors">
            </div>
            <form class="new-post-form">
                <div class="form-row">
                    <input type="text" class="new-post-title" name="title" placeholder="${_("Title")}">
                </div>
                <div class="form-row">
                    <div class="new-post-body" name="body" placeholder="${_(u"Enter your question or comment…")}"></div>
                </div>
                <input type="submit" class="submit" value="${_("Add post")}">
                <a href="#" class="new-post-cancel">${_("Cancel")}</a>
                <div class="options">
                    <input type="checkbox" name="follow" class="discussion-follow" class="discussion-follow" id="new-post-follow" checked><label for="new-post-follow">${_("follow this post")}</label>
                    <br>
                    {{#allow_anonymous}}
                        <input type="checkbox" name="anonymous" class="discussion-anonymous" id="new-post-anonymous"><label for="new-post-anonymous">${_("post anonymously")}</label>
                    {{/allow_anonymous}}
                    {{#allow_anonymous_to_peers}}
                        <input type="checkbox" name="anonymous" class="discussion-anonymous-to-peers" id="new-post-anonymous-to-peers"><label for="new-post-anonymous-to-peers">${_("post anonymously to classmates")}</label>
                    {{/allow_anonymous_to_peers}}
                </div>
            </form>
        </div>
    </article>

    <section class="threads">
        {{#threads}}
            <article class="discussion-thread" id="thread_{{id}}">
            </article>
        {{/threads}}
    </section>

    <section class="pagination">
    </section>
</section>
