]> projects.mako.cc - selectricity/blobdiff - app/views/quickvote/create.rhtml
Fix a bug where quickvote displays name cant be blank twice. validators are inherited...
[selectricity] / app / views / quickvote / create.rhtml
index 57df1ed24970a7bd9d9b182190ca404cc2047aef..b1b6004ec7a75d60b76244a58f74138cf63576d2 100644 (file)
@@ -1,8 +1,35 @@
-<h2>Create QuickVote</h2>
+<div id="voters-title">
+       <span class="header">Title</span>
+       <span class="subheader">Subtitle</span>
+       <div style="clear:both;"></div>
+</div>
+
+<div id="controlroom-title">
+       <span class="header">Title</span>
+       <span class="subheader">Subtitle</span>
+       <div style="clear:both;"></div>
+</div>
+
+<div id="quickvote-title">
+       <span class="header">Quickvote</span>
+       <span class="subheader"></span>
+       <div style="clear:both;"></div>
+</div>
 
 <%= error_messages_for 'quickvote' %>
 
 
 <%= error_messages_for 'quickvote' %>
 
-<h3><label for="quickvote_candidate_names">Choices</h3>
+<span class="header">Header</span>
+<span class="subheader">Subheader</span>
+<div style="clear:both;"></div>
+
+<span class="header">Header</span>
+<span class="subheader"></span>
+<div style="clear:both;"></div>
+
+<span class="header">Header</span>
+<div style="clear:both;"></div>
+
+<p><label for="quickvote_candidate_names">Choices</p>
 
 <!-- the list of candidates -->
 <div id="candidate_names">
 
 <!-- the list of candidates -->
 <div id="candidate_names">
 <% form_tag(:action => 'create') do %>
 <!--[form:election]-->
 
 <% form_tag(:action => 'create') do %>
 <!--[form:election]-->
 
-<h3><label for="quickvote_name">One Word Description (for URL)</label></h3>
+<p><label for="quickvote_name">One Word Description (for URL)</label></p>
 
 <p><em><font size="-1">required; 5-12 characters; only letters and numbers; no spaces</font></em></p>
 
 <p><%= text_field 'quickvote', 'name', :size => 15, :maxsize => 12  %></p>
 
 
 <p><em><font size="-1">required; 5-12 characters; only letters and numbers; no spaces</font></em></p>
 
 <p><%= text_field 'quickvote', 'name', :size => 15, :maxsize => 12  %></p>
 
-<h3><label for="quickvote_description">Description</label></h3>
+<p><label for="quickvote_description">Description</label></p>
 
 <p><font size="-1">required; one line summary on the first line</font></em><br/>
 
 
 <p><font size="-1">required; one line summary on the first line</font></em><br/>
 

Benjamin Mako Hill || Want to submit a patch?