projects
/
selectricity
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Variety of small changes (mostly to properties) plus a few "in the
[selectricity]
/
app
/
views
/
election
/
_candidate_line_edit.rhtml
diff --git
a/app/views/election/_candidate_line_edit.rhtml
b/app/views/election/_candidate_line_edit.rhtml
old mode 100644
(file)
new mode 100755
(executable)
index
ea20a4f
..
78f8580
--- a/
app/views/election/_candidate_line_edit.rhtml
+++ b/
app/views/election/_candidate_line_edit.rhtml
@@
-12,13
+12,18
@@
<% if @current_candidate.picture? %>
<img src="<%= url_for :action => 'candidate_picture',
:id => @current_candidate.id %>"
<% if @current_candidate.picture? %>
<img src="<%= url_for :action => 'candidate_picture',
:id => @current_candidate.id %>"
- align="top" />
+ align="top"
width="80px"
/>
<% end %>
</td>
<% end %>
</td>
+ <% if @current_candidate.description.length > 0 %>
<td valign="top">
<em>Description:</em><br />
<%= h(@current_candidate.description) %>
<td valign="top">
<em>Description:</em><br />
<%= h(@current_candidate.description) %>
- </td></tr></table>
+ </td>
+ <% else %>
+ <td></td>
+ <% end %>
+ </tr></table>
</blockquote>
</p>
</div>
</blockquote>
</p>
</div>
Benjamin Mako Hill
||
Want to submit a patch?