Skip to content
Extraits de code Groupes Projets
Valider 2fcc7837 rédigé par Dennis Schubert's avatar Dennis Schubert
Parcourir les fichiers

Add mobile registration site to fix ugly 500

parent 7a2ac9e3
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
-# Copyright (c) 2010-2011, Diaspora Inc. This file is
-# licensed under the Affero General Public License version 3 or later. See
-# the COPYRIGHT file.
= javascript_include_tag "validation"
.stream
#login_form
.login-container
%h2
= t('users.getting_started.welcome')
= form_for(resource, :as => resource_name, :html => {:class => 'new_user_form'}, :url => registration_path(resource_name), :validate => true) do |f|
.row
.row
= f.label :username, t('username')
.centered
= f.text_field :username
%span.host_uri
= "@#{AppConfig[:pod_uri].host}"
.row
.row
= f.label :email, t('email')
.centered
= f.email_field :email
.row
.row
= f.label :password, t('password')
.centered
= f.password_field :password
.row
.row
= f.label :password_confirmation, t('password_confirmation')
.centered
= f.password_field :password_confirmation
.row
= f.submit t('registrations.new.create_my_account'), :class => 'login-submit'
= link_to t('.sign_up'), new_user_session_path()
%footer
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter