review/templates/pieces/forms/comment-change.html @ f54f891c2b7f initial-docs

docs: formatting
author Steve Losh <steve@stevelosh.com>
date Mon, 05 Jul 2010 22:36:06 -0400
parents 2fd6ee8c3ced
children 5dec221dd171
<div class="edit-review-comment toggleinline group">
    <span class="activate-edit"><a href="#">Edit</a></span>
    <form class="disabled" id="comment-review-form" method="POST" action="">
        <div class="field">
            <label class="infield"
                   for="id_comment-{{ comment.identifier }}-review-form_body"
            >Comment</label>

            <textarea autocomplete="off"
                      id="id_comment-{{ comment.identifier }}-review-form_body"
                      cols="60" rows="6" name="new-comment-body"
            >{{ comment.message }}</textarea>
        </div>
        <div class="field cuddly">
            <input type="checkbox" class="checkbox"
                   name="comment-markdown"
                   id="id_comment-{{ comment.identifier }}-review-form_markdown"
                   {% if comment.style == "markdown" %}checked="checked"{% endif %}
            />
            <label for="id_comment-{{ comment.identifier }}-review-form_markdown">
                Use Markdown to format this comment.
            </label>

        </div>
        <input type="hidden" name="filename" value="{{ filename }}" />
        <input type="hidden" name="current" value="{{ comment.identifier }}"/>
        <a class="submit button" href="#"><span>Edit Comment</span></a>
        <a class="cancel-edit button" href="#"><span>Cancel</span></a>
    </form>
</div>