Mercurial > public > sg101
comparison gpp/templates/comments/comment_form.html @ 127:2d299909e074
Adding markdown help to comments and forums. Still need to add it to a few other places that use the markItUp editor.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Mon, 16 Nov 2009 01:00:28 +0000 |
parents | dbd703f7d63a |
children | b8474ffe76d9 |
comparison
equal
deleted
inserted
replaced
126:b0d62247c3e4 | 127:2d299909e074 |
---|---|
1 {% if user.is_authenticated %} | 1 {% if user.is_authenticated %} |
2 <form action="{% url comments-post %}" method="post" id="comment-form"> | 2 <form action="{% url comments-post %}" method="post" id="comment-form"> |
3 {{ form.as_p }} | 3 {{ form.as_p }} |
4 <a href="#" id="more_smileys"> | |
5 <img src="{{ MEDIA_URL }}icons/emoticon_smile.png" alt="More smileys" title="More smileys" /></a> | |
6 <a href="#" id="markdown_help"> | |
7 <img src="{{ MEDIA_URL }}icons/help.png" alt="Help" title="Help" /></a> | |
4 <input type="submit" name="post" value="Post Comment" id="comment-form-post"/> | 8 <input type="submit" name="post" value="Post Comment" id="comment-form-post"/> |
5 </form> | 9 </form> |
10 <div id="smileys_dialog" title="More Smileys"> | |
11 <img src="{{ MEDIA_URL }}icons/ajax_busy.gif" alt="Loading" id="smiley_busy" /> | |
12 </div> | |
13 <div id="markdown_help_dialog" title="Markdown Help"> | |
14 <img src="{{ MEDIA_URL }}icons/ajax_busy.gif" alt="Loading" id="markdown_busy" /> | |
15 </div> | |
6 {% else %} | 16 {% else %} |
7 <p> | 17 <p> |
8 Please <a href="{% url accounts-login %}">login</a> or | 18 Please <a href="{% url accounts-login %}">login</a> or |
9 <a href="{% url accounts-register %}">register</a> to leave a comment. | 19 <a href="{% url accounts-register %}">register</a> to leave a comment. |
10 </p> | 20 </p> |