merged from devel
[selectricity] / app / views / quickvote / create.rhtml
index 37e62c698c6ea2208be2c4fdba191176f252e5d0..eecb4fb8ca4f44bb6e0d65142a0efd24e00f243d 100644 (file)
@@ -1,11 +1,8 @@
-<div id="page-title">
+<div id="title-header">
        <span class="header">Quickvote</span>
        <span class="subheader">Create New QuickVote</span>
-       <div style="clear:both;"></div>
 </div>
 
-<div class="main-content">
-
 <p><label for="quickvote_candidate_names">Choices</p>
 
 <!-- the list of candidates -->
@@ -28,9 +25,9 @@
 <%= text_field 'quickvote', 'description', :size => 50 %></p>
 
 <div id="advanced" style="display: none">
-  <div class="plain-header">
-  <span class="header">Advanced Options</span>
-  <span class="subheader"></span>
+  <div class="normal-header">
+    <span class="header">Advanced Options</span>
+    <span class="subheader"></span>
   </div>
   <div class="clear-div"></div>
 
 
     <p><label for="quickvote_election_method">Election Method</label></p>
 
+<!--
+<% type_hash = {}; ELECTION_TYPES.each {|k,v| type_hash[v] = k} %>
+<%= select_tag 'election_election_method', options_for_select(type_hash, @quickvote.election_method) %></p>
+-->
     <p><%= quickform.select('election_method', 
         %w(ssd condorcet plurality approval borda) ) %></p>
 
@@ -69,4 +70,3 @@
 
 <% end %>
 
-</div>

Benjamin Mako Hill || Want to submit a patch?