Skip to content
Extraits de code Groupes Projets
Valider 4c96e12a rédigé par maxwell's avatar maxwell
Parcourir les fichiers

removing the form for user creation thru signup

parent 8636f5d1
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
= form_for(resource, :as => resource_name, :url => invitation_path(resource_name), :html => {:method => :put }) do |f| %h1= t('.invitations_closed')
%p
= f.label :username
= f.text_field :username
%p
= f.label :password
= f.password_field :password
%p
= f.label :password_confirmation
= f.password_field :password_confirmation
= f.hidden_field :invitation_token -#= form_for(resource, :as => resource_name, :url => invitation_path(resource_name), :html => {:method => :put }) do |f|
= f.submit t('.sign_up') -#%p
= render :partial => "devise/shared/links" -#= f.label :username
-#= f.text_field :username
-#%p
-#= f.label :password
-#= f.password_field :password
-#%p
-#= f.label :password_confirmation
-#= f.password_field :password_confirmation
-#= f.hidden_field :invitation_token
-#= f.submit t('.sign_up')
-#= render :partial => "devise/shared/links"
...@@ -284,6 +284,7 @@ en: ...@@ -284,6 +284,7 @@ en:
not_found: "Invitation token not found" not_found: "Invitation token not found"
edit: edit:
sign_up: "sign_up" sign_up: "sign_up"
invitations_closed: "Invitations for this Diaspora Pod are closed right now. Don't worry, your invite will still work, please try again in about a week."
status_messages: status_messages:
new_status_message: new_status_message:
tell_me_something_good: "tell me something good" tell_me_something_good: "tell me something good"
......
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