diff options
author | Bryan Newbold <bnewbold@animus.robocracy.org> | 2008-09-23 18:52:55 -0700 |
---|---|---|
committer | Bryan Newbold <bnewbold@animus.robocracy.org> | 2008-09-23 18:52:55 -0700 |
commit | 979f5901af8410ff138de0aa41013bfb193060d6 (patch) | |
tree | f3c59f2a2f1da90e13336e16efa4b48003534052 /bn_django/templates/comments/form.html | |
parent | 6a22baa306a72557698d64ac6c09842bed81f66b (diff) | |
download | bnewnet-979f5901af8410ff138de0aa41013bfb193060d6.tar.gz bnewnet-979f5901af8410ff138de0aa41013bfb193060d6.zip |
1.0
Diffstat (limited to 'bn_django/templates/comments/form.html')
-rw-r--r-- | bn_django/templates/comments/form.html | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/bn_django/templates/comments/form.html b/bn_django/templates/comments/form.html deleted file mode 100644 index a2af1be..0000000 --- a/bn_django/templates/comments/form.html +++ /dev/null @@ -1,36 +0,0 @@ -{% load i18n %} -<form {% if photos_optional or photos_required %}enctype="multipart/form-data" {% endif %}action="/comments/post/" method="post"> - -<p><textarea name="comment" id="id_comment"></textarea></p> -<input class="submit" type="submit" name="preview" value="{% trans "Preview comment" %}" /> -{% if user.is_authenticated %} -<p> {% trans "Username:" %} <strong>{{ user.username }}</strong> (<a href="/accounts/logout/">{% trans "Log out" %}</a>) -{% else %} -<p><label for="id_username">{% trans "Username:" %}</label> <input type="text" name="username" id="id_username" /><br />{% trans "Password:" %} <input type="password" name="password" id="id_password" /> (<a href="/accounts/password_reset/">{% trans "Forgotten your password?" %}</a>) -{% endif %} -</p> - -{% if ratings_optional or ratings_required %} -<p>{% trans "Ratings" %} ({% if ratings_required %}{% trans "Required" %}{% else %}{% trans "Optional" %}{% endif %}):</p> -<table> -<tr><th> </th>{% for value in rating_range %}<th>{{ value }}</th>{% endfor %}</tr> -{% for rating in rating_choices %} -<tr><th>{{ rating }}</th>{% for value in rating_range %}<th><input type="radio" name="rating{{ forloop.parentloop.counter }}" value="{{ value }}" /></th>{% endfor %}</tr> -{% endfor %} -</table> -<input type="hidden" name="rating_options" value="{{ rating_options }}" /> -{% endif %} - -{% if photos_optional or photos_required %} -<p><label for="id_photo">{% trans "Post a photo" %}</label> ({% if photos_required %}{% trans "Required" %}{% else %}{% trans "Optional" %}{% endif %}): -<input type="file" name="photo" id="id_photo" /></p> -<input type="hidden" name="photo_options" value="{{ photo_options }}" /> -{% endif %} - - -<p> -<input type="hidden" name="options" value="{{ options }}" /> -<input type="hidden" name="target" value="{{ target }}" /> -<input type="hidden" name="gonzo" value="{{ hash }}" /> -</p> -</form> |