Revert "removing the form for user creation thru signup". Shutting down magent is a less annoying solution.
This reverts commit 4c96e12a31.
This commit is contained in:
parent
77d46b2d66
commit
b9cafc0579
2 changed files with 13 additions and 16 deletions
|
|
@ -1,16 +1,14 @@
|
||||||
%h1= t('.invitations_closed')
|
= form_for(resource, :as => resource_name, :url => invitation_path(resource_name), :html => {:method => :put }) do |f|
|
||||||
|
%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
|
||||||
|
|
||||||
-#= form_for(resource, :as => resource_name, :url => invitation_path(resource_name), :html => {:method => :put }) do |f|
|
= f.hidden_field :invitation_token
|
||||||
-#%p
|
= f.submit t('.sign_up')
|
||||||
-#= f.label :username
|
= render :partial => "devise/shared/links"
|
||||||
-#= 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,7 +284,6 @@ 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"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue