review/templates/pieces/forms/file-comment.html @ 53acdea3cf0a

bundled/markdown2: hack together an 'imgless' extra

Because I'd rather not have people posting porn on the demo site.
author Steve Losh <steve@stevelosh.com>
date Fri, 18 Jun 2010 23:04:40 -0400
parents 24f0d81f3aa5
children 5dec221dd171
<div class="add-file-comment togglebox group">
    <span class="activate"><a class="button" href=""><span>Add a comment on this file</span></a></span>

    <form id="id_comment-file-form_{{ index }}" class="disabled" method="POST" action="">
        <div class="field">
            <label class="infield" for="id_comment-file-form_{{ index }}_body">Comment</label>
            <textarea autocomplete="off" id="id_comment-file-form_{{ index }}_body" cols="60" rows="6" name="new-comment-body"></textarea>
        </div>

        <div class="field cuddly">
            <input type="checkbox" class="checkbox" name="comment-markdown" id="id_comment-file-form_{{ index }}_markdown" checked="checked" />
            <label for="id_comment-file-form_{{ index }}_markdown">Use Markdown to format this comment.</label>
        </div>

        <a class="submit button" href="#"><span>Post Comment</span></a>
        <a class="cancel button" href="#"><span>Cancel</span></a>

        <input type="hidden" name="filename" value="{{ filename }}" />
    </form>
</div>