]> projects.mako.cc - selectricity/blobdiff - app/views/embed/full_vote.rhtml
add votemail
[selectricity] / app / views / embed / full_vote.rhtml
index db8f043312f57d8cbf068b93d72ea617ea92ca96..919b442c34af6fb88a8b3c7235149ac8f56c602a 100644 (file)
@@ -1,4 +1,8 @@
-<div id="header">
+<div id="header" style="background-image:url(<%if @top_bar%>
+                                               <%=url_for @top_bar.public_filename%>)
+                                               <% else %>
+                                               /images/embed_basic_bg.png)
+                                               <% end %>">
 <%= link_to '<img id="header_icon" src="/images/embed_header_icon.png" />',
             {:controller => 'front'}, {:target => "_parent"} %><h2>Vote Now</h2>
 </div>

Benjamin Mako Hill || Want to submit a patch?