]> projects.mako.cc - selectricity/blobdiff - app/views/election/_candidate_line_edit.rhtml
Finished organzing preferential vote tables into one partial. Also changed RubyVote...
[selectricity] / app / views / election / _candidate_line_edit.rhtml
index ea20a4fd6e6ab718511c535f4f6700371cf510ff..78f8580655b79453930bcdf8638fcb18fed840c3 100644 (file)
       <% if @current_candidate.picture? %>
       <img src="<%= url_for :action => 'candidate_picture',
                             :id => @current_candidate.id %>"
-           align="top" />
+           align="top" width="80px" />
       <% end %>
       </td>
+      <% if @current_candidate.description.length > 0 %>
       <td valign="top">
         <em>Description:</em><br />
          <%= h(@current_candidate.description) %>
-    </td></tr></table>
+      </td>
+      <% else %>
+      <td></td>
+      <% end %>
+    </tr></table>
     </blockquote>
 </p>
 </div>

Benjamin Mako Hill || Want to submit a patch?