%= error_messages_for :user, :person %> <% labelled_form_for :user, @user, :html => { :multipart => true, :id => 'signup-form' } do |f| %> <%= hidden_field_tag :invitation_code, @invitation_code %>
#{checking_message(:url)}
');", :complete => "jQuery('#user_login').removeClass('checking')" %>
#{checking_message(:email)}
');", :complete => "jQuery('#user_email').removeClass('checking')", :before => "var field = jQuery('#user_email'); if (field.val()=='') { field.removeClass('#{validation_classes}'); jQuery('#email-check').html(''); return false; } if (!( field.valid() )) { field.removeClass('#{validation_classes}').addClass('invalid'); jQuery('#email-check').html('
#{_('This e-mail address is not valid')}
'); return false; }" %> <%= label :profile_data, :name %> <%= required text_field(:profile_data, :name, :rel => _('Full name')) %><%= submit_button('save', _('Create my account')) %>
<% end -%>