Skip to content
Extraits de code Groupes Projets
Valider c2d26e21 rédigé par zhitomirskiyi's avatar zhitomirskiyi
Parcourir les fichiers

added a mobile invitation acceptance view, skipping getting started for now

parent e3170504
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -17,7 +17,7 @@ class AspectsController < ApplicationController ...@@ -17,7 +17,7 @@ class AspectsController < ApplicationController
end end
# redirect to signup # redirect to signup
if current_user.getting_started == true || @aspects.blank? if (current_user.getting_started == true || @aspects.blank?) && !request.format.mobile?
redirect_to getting_started_path redirect_to getting_started_path
else else
......
= form_for(resource, :as => resource_name, :url => invitation_path(resource_name), :html => {:method => :put }) do |f|
%p
= f.label :username , t('username')
= f.text_field :username, :title => t('registrations.new.enter_username')
%p
= f.label :email , t('email')
= f.text_field :email, :title => t('registrations.new.enter_email')
%p
= f.label :password , t('password')
= f.password_field :password, :title => t('registrations.new.enter_password')
%p
= f.label :password_confirmation , t('password_confirmation')
= f.password_field :password_confirmation, :title => t('registrations.new.enter_password_again')
= f.hidden_field :invitation_token
= f.submit t('registrations.new.sign_up')
%br
= render :partial => "devise/shared/links"
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Veuillez vous inscrire ou vous pour commenter