<%= render 'nomination_form' %>

<%= content_for :footer_js do %>
  <%= javascript_include_tag '/javascripts/jquery.qtip.min.js' %>
  <%= javascript_tag do %>
    $j(document).ready(function() {
      setupTooltips();
    });
    function setupTooltips() {
      $j('span[data-tooltip]').each(function(){
        $j(this).qtip({
            content: $j(this).attr('data-tooltip'),
            position: {corner: {target: 'topMiddle'}}
        });
      });
    }
  <% end %>
<% end %>