1 <%= error_messages_for 'quickvote' %>
3 <script type="text/javascript">
4 function show_advanced() {
5 Element.toggle($("advanced"));
6 Element.toggle($("advanced_toggle"));
8 <%= "Event.observe(window, 'load', show_advanced, false);" if show_advanced %>
11 <p id="advanced_toggle"><a href="#" onClick='show_advanced(); false;'>Show advanced options</a></p>