<%= t('muck.users.register_account', :application_name => GlobalConfig.application_name) %>

<%= t('muck.users.already_registered') %> <%= t('muck.users.sign_in_now') %>

<% custom_form_for :user, :url => users_path, :html => {:id => "register-user-form", :name => 'register-user-form'} do |f| -%> <%= output_errors(t('muck.users.problem_creating_account'), {:class => 'help-box'}, @user) %> <%= f.text_field :login, { :label => t('muck.users.choose_member_name'), :extra_html => '', :tip => t('muck.users.username_help'), :required_label => t('muck.users.username') } -%> <%= f.text_field :email, { :label => t('muck.users.email_address'), :tip => t('muck.users.email_help'), :extra_html => '' } -%> <%= f.password_field :password, { :label => t('muck.users.password'), :tip => t('muck.users.password_help')} -%> <%= f.password_field :password_confirmation, { :label => t('muck.users.confirm_password'), :tip => t('muck.users.password_confirmation_help') } -%> <% if GlobalConfig.use_recaptcha -%>
<%= recaptcha_tags %>
<% end -%>
<%= f.submit t('muck.users.sign_up_now') %>
<% end %>
<% content_for :javascript do -%> jQuery("#user_login").blur(function(){ jQuery.post("is_login_available",{ user_login:jQuery(this).val() } ,function(data){ jQuery("#username-availibility").html(data); }); }); jQuery("#user_login").keydown(function() { jQuery("#username-availibility").html(''); }); jQuery("#user_email").blur(function(){ jQuery.post("is_email_available",{ user_email:jQuery(this).val() } ,function(data){ jQuery("#email-availibility").html(data); }); }); jQuery("#user_email").keydown(function() { jQuery("#email-availibility").html(''); }); <% end -%>