Mercurial > public > sg101
comparison gpp/templates/comments/comment_form.html @ 1:dbd703f7d63a
Initial import of sg101 stuff from private repository.
author | gremmie |
---|---|
date | Mon, 06 Apr 2009 02:43:12 +0000 |
parents | |
children | 2d299909e074 |
comparison
equal
deleted
inserted
replaced
0:900ba3c7b765 | 1:dbd703f7d63a |
---|---|
1 {% if user.is_authenticated %} | |
2 <form action="{% url comments-post %}" method="post" id="comment-form"> | |
3 {{ form.as_p }} | |
4 <input type="submit" name="post" value="Post Comment" id="comment-form-post"/> | |
5 </form> | |
6 {% else %} | |
7 <p> | |
8 Please <a href="{% url accounts-login %}">login</a> or | |
9 <a href="{% url accounts-register %}">register</a> to leave a comment. | |
10 </p> | |
11 {% endif %} |