<div class="post-notes">
    <% _.each(notes, function(note) { %>
        <div tabindex="0" class="post-note"
            style="left: <%= note.left %>%;
                top: <%= note.top %>%;
                width: <%= note.width %>%;
                height: <%= note.height %>%">

            <div class="text-wrapper">
                <div class="text">
                    <%= util.formatMarkdown(note.text) %>
                </div>
            </div>

        </div>
    <% }) %>
</div>

<form class="post-note-edit">
    <textarea></textarea>
    <div class="actions"><!--
        --><% if (privileges.canEditPostNotes) { %><!--
            --><button type="submit" name="sender" value="save">Save</button><!--
            --><button type="submit" name="sender" value="preview">Preview</button><!--
        --><% } %><!--
        --><button type="submit" name="sender" value="cancel">Cancel</button><!--
        --><% if (privileges.canDeletePostNotes) { %><!--
            --><button type="submit" name="sender" value="remove">Remove</button><!--
        --><% } %><!--
    --></div>
</form>
