Skip to content

Commit

Permalink
Use textarea
Browse files Browse the repository at this point in the history
  • Loading branch information
baijum committed Feb 1, 2011
1 parent e507995 commit 613420b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion py3k/packages.py
Expand Up @@ -43,7 +43,7 @@ def add_comment(name):
working = request.form['working']
platform = request.form['platform']
version = request.form['version']
comment = request.form['comment[body]']
comment = request.form['comment']
new_comment = Comment()
result = Distribution.query.filter_by(name=name).first()
new_comment.distribution_id = result.id
Expand Down
2 changes: 1 addition & 1 deletion py3k/templates/nonpypi_package.html
Expand Up @@ -31,7 +31,7 @@ <h3>Provide project details</h3>
<input type=text name=author size=30 /> <br />

Summary
<input type=text name=summary size=30 /> <br />
<textarea cols="60" name=summary rows="6"/></textarea> <br />

<input type=submit value="Submit" />
</form>
Expand Down
2 changes: 1 addition & 1 deletion py3k/templates/package_details.html
Expand Up @@ -73,7 +73,7 @@ <h3>Add your comment</h3>
Version
<input type=text name=version size=30 /> <br />
Comments (optional) <br/>
<textarea cols="60" id="comment_body" name="comment[body]" rows="6"></textarea>
<textarea cols="60" id="comment_body" name="comment" rows="6"></textarea>
<input type=submit value="Submit" />
</form>

Expand Down

0 comments on commit 613420b

Please sign in to comment.