Fixed #180 -- Removed 'enctype' from FREE_COMMENT_FORM template in contrib.comments.templatetags

git-svn-id: http://code.djangoproject.com/svn/django/trunk@377 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Adrian Holovaty 2005-08-01 20:07:31 +00:00
parent 77faac0cb7
commit 006e9e789b
1 changed files with 1 additions and 1 deletions

View File

@ -44,7 +44,7 @@ COMMENT_FORM = '''
FREE_COMMENT_FORM = ''' FREE_COMMENT_FORM = '''
{% if display_form %} {% if display_form %}
<form enctype="multipart/form-data" action="/comments/postfree/" method="post"> <form action="/comments/postfree/" method="post">
<p>Your name: <input type="text" id="id_person_name" name="person_name" /></p> <p>Your name: <input type="text" id="id_person_name" name="person_name" /></p>
<p>Comment:<br /><textarea name="comment" id="id_comment" rows="10" cols="60"></textarea></p> <p>Comment:<br /><textarea name="comment" id="id_comment" rows="10" cols="60"></textarea></p>
<input type="hidden" name="options" value="{{ options }}" /> <input type="hidden" name="options" value="{{ options }}" />