<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="Enter your question or comment&hellip;"></div>
                    <!---<div class="new-post-preview"><span class="new-post-preview-label">Preview</span></div>-->
                </div>
                {{! TODO tags: Getting rid of tags for now. }}
                {{!<div class="form-row">}}
                {{!    <input type="text" class="new-post-tags" name="tags" placeholder="Tags">}}
                {{!</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 class="form-group-label choose-cohort">
                        Make visible to:
                        <select class="group-filter-select new-post-group" name = "group_id"> 
                              {{#cohorts}}
                                <option value="{{id}}">{{name}}</option>
                              {{/cohorts}}
                                

                        </select>
                    </div>                    

                </div>
            </form>
        </div>
    </article>

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

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