Major update of Selectricity to work with Rails 2.2.2 from 1.2!
[selectricity] / app / views / election / _theme_upload.rhtml
1 <%= error_messages_for("skin_picture") %>
2
3 <p>If you want a custom theme upload it if here!<br />
4
5 <span><label for="top_bar_uploaded_data">Top Bar</span><br />
6         <%=file_field :top_bar, :uploaded_data %><br />
7 <span><label for="default_image_uploaded_data">Corner Image</span><br />
8         <%=file_field :default_image, :uploaded_data %><br />
9 <span><label for="bg1_uploaded_data">Background One</span><br />
10         <%=file_field :bg1, :uploaded_data %><br />
11 <span><label for="bg2_uploaded_data">Background Two</span><br />
12         <%=file_field :bg2, :uploaded_data %><br />
13 <span><label for="bottom_bar_uploaded_data">Bottom Bar</span><br />
14         <%=file_field :bottom_bar, :uploaded_data %><br />
15 </p>
16         
17 <p>Detailed Information:
18         Every embeddable widget uses five different picture files to create 
19                 it's color scheme and default image. If you have images you'd like to
20                 use in your widget. Please make sure they fit the
21                 specified dimensions.<br />
22                 Top Bar/ Bottom Bar/ Alternating Backgrounds: 330px wide 53px tall
23                 <br />
24                 Default Image: 70px wide 53px tall
25 </p>

Benjamin Mako Hill || Want to submit a patch?