removing the form for user creation thru signup
This commit is contained in:
parent
8636f5d1d9
commit
4c96e12a31
2 changed files with 16 additions and 13 deletions
|
|
@ -1,14 +1,16 @@
|
||||||
= 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:
|
||||||
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