invitations are not sent from magent queue (a problem in itself)

Revert "Revert "removing the form for user creation thru signup".  Shutting down magent is a less annoying solution."

This reverts commit b9cafc0579.
This commit is contained in:
maxwell 2010-11-26 15:52:34 -08:00
parent fb85ffe406
commit 9e5eb86866
2 changed files with 16 additions and 13 deletions

View file

@ -1,14 +1,16 @@
= 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
%h1= t('.invitations_closed')
= f.hidden_field :invitation_token
= f.submit t('.sign_up')
= render :partial => "devise/shared/links"
-#= 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
-#= f.hidden_field :invitation_token
-#= f.submit t('.sign_up')
-#= render :partial => "devise/shared/links"

View file

@ -284,6 +284,7 @@ en:
not_found: "Invitation token not found"
edit:
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:
new_status_message:
tell_me_something_good: "tell me something good"