<% content_for :main do %>
Parts Unlimited Drag Specialties

Participant Event Registration <% form_for(:participant, :url => url_for({:controller => "gateway", :action => "login"}), :html => {:id => 'participantLoginForm', :class => 'participantLoginClass', :name => 'participant_login_form'}) do |f| %> <% if @event and @event.allow_user_login == true %> <% else %> <% end %>
<%= @event.name %> <%= @event.year %> Event
Copy and paste user id and password from cover email
<%= f.text_field :user_name, :class => "text" %>
<%= f.password_field :password, :class => "text" %>
<%= button_to_function "Forgot Password", "Element.toggle('forgotten_password_form') "%> <% if @event %> <%= submit_tag 'Login', :id => 'login_submit' %> <% else %> <%= submit_tag 'Login', :id => 'login_submit', :disabled => 'true' %> <% end %>
Did you enter the correct URL? The event you are looking for has expired! Please check your invitation email or contact events@parts-unltd.com if you need help
<% end %> <%= javascript_tag("Behaviour.addLoadEvent(submitPageIfUserNameAndPasswordExists());") %>
<%= flash[:error] %> <%= flash[:notice] %>
<% end %>