review/templates/pieces/forms/comment-change.html @ d483f003d230

Change the mercurial minimum version

the obsstore api was added in mercurial 2.3.
I did _not_ tested with this version though, so we may have to
change it if issues are encountered.
author Christophe de Vienne <cdevienne@gmail.com>
date Fri, 21 Nov 2014 17:04:06 +0100
parents 5dec221dd171
children (none)
<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-u" value="{{ ufilename }}" />
        {% if filename %}
            <input type="hidden" name="filename-b64" value="{{ utils['b64'](filename) }}" />
        {% else %}
            <input type="hidden" name="filename-b64" value="" />
        {% endif %}
        <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>