Permalink
Browse files

Use a dl for displaying form data.

  • Loading branch information...
1 parent 33fafea commit a06700185fe74dea658022c6c7211bcd657f1b4a @dustin dustin committed Jul 1, 2009
Showing with 11 additions and 2 deletions.
  1. +5 −1 static/style.css
  2. +6 −1 templates/bin.html
View
@@ -6,4 +6,8 @@ body { font-family: Helvetica,Arial,sans-serif; font-size: smaller;}
pre { font-size: larger;}
ul { padding-left: 20px;}
#make-form { margin: 20px; text-align: center; margin-right: 80px;}
-#make-form input { font-size: larger;}
+#make-form input { font-size: larger;}
+
+dl dd {
+ white-space: pre;
+}
View
@@ -12,7 +12,12 @@
{{ post.remote_addr }}
{% if post.query_string %}?{{ post.query_string }}{% endif %}
</div>
- <pre>{{ post }}</pre>
+ <dl>
+ {% for part in post %}
+ <dt>{{ part.0 }}</dt>
+ <dd>{{ part.1 }}</dd>
+ {% endfor %}
+ </dl>
</li>
{% endfor %}
</ul>

0 comments on commit a067001

Please sign in to comment.