{{#unless channelClosed}}
<div id="pollBar" class="fixed-overlay" style="display: none;">
    <div class="row" style="margin: 10px 0">
        {{#each pollAnswers}}
        <div class="col s3"><button class="btn pollButton waves-effect" value="{{this}}">{{this}}</button></div>
        {{/each}}
    </div>
</div>
<div id="posts-div">
    {{#each messages}}
        {{> das.channelDetails.message message=this}}
    {{/each}}
</div>
<div style="height: 50px;" />
<div id="bottomBar" class="fixed-overlay" style="display: none;">
    <a id="gotoBottom">
        <i class="material-icons medium">expand_more</i>
    </a>
    <div>
        <span id="newMessageCounter" class="new badge" style="top: 50%; display:none;">0</span>
    </div>
</div>
<div id="inputBar" class="input-field fixed-overlay">
    <input id="messageInput" placeholder="{{langString "das.channelDetails.messagePlaceholder"}}" type="text" {{#if disableSending}}disabled="disabled"{{/if}}/>
    <button id="submitButton" class="btn icon-only waves-effect" type="submit" {{#if disableSending}}disabled="disabled"{{/if}}>
        <i id="submitIcon" class="material-icons">photo_camera</i>
    </button>
</div>
{{/unless}}
{{#if channelClosed}}
<div>{{ channelClosed}}</div>
<div id="reloadChannel" style="margin-top: 10px; margin-bottom: 10px;" class="btn">{{langString "errorpage.retryButton"}}</div>
{{/if}}