Add width and height HTML attributes to static image in templates.

This commit is contained in:
Alex Muller
2013-02-13 18:18:03 +00:00
committed by Max Goodman
parent eb6f750684
commit 87bd576689
2 changed files with 2 additions and 2 deletions

View File

@@ -26,7 +26,7 @@
<p class="error">
${_("you must be at least eighteen to view this reddit")}
</p>
<img src="${static('over18.png')}" alt="" />
<img src="${static('over18.png')}" alt="" height="254" width="180" />
<form method="post" action="" class="pretty-form"
${"target='_top'" if c.cname else ""}>

View File

@@ -28,7 +28,7 @@
<%namespace file="utils.html" import="error_field"/>
<div class="content over18" style="text-align: center">
<img src="${static('over18.png')}" alt="" />
<img src="${static('over18.png')}" alt="" height="254" width="180" />
<h1>let me see your papers</h1>