52 lines
1.2 KiB
Plaintext
52 lines
1.2 KiB
Plaintext
|
<div class="box wide">
|
||
|
<div class="legend">
|
||
|
Create an Account
|
||
|
</div>
|
||
|
|
||
|
<%= form_for @new_user, { :url => signup_url,
|
||
|
:autocomplete => "off" } do |f| %>
|
||
|
<%= hidden_field_tag "invitation_code", @invitation.code %>
|
||
|
|
||
|
<p>
|
||
|
To create a new account, enter your e-mail address and a password.
|
||
|
Your e-mail address will never be shown to users and will only be used
|
||
|
if you need to reset your password, or to receive optional new-message
|
||
|
alerts.
|
||
|
</p>
|
||
|
|
||
|
<%= error_messages_for(@new_user) %>
|
||
|
|
||
|
<p>
|
||
|
<%= f.label :invitation, "Invited By:" %>
|
||
|
<span class="d">
|
||
|
<%= @invitation.user.username %>
|
||
|
</span>
|
||
|
</p>
|
||
|
|
||
|
<p>
|
||
|
<%= f.label :username, "Username:" %>
|
||
|
<%= f.text_field :username, :size => 30 %>
|
||
|
<span class="hint">
|
||
|
<tt>[A-Za-z0-9][A-Za-z0-9_-]*</tt>
|
||
|
</span>
|
||
|
<br />
|
||
|
|
||
|
<%= f.label :email, "E-mail Address:" %>
|
||
|
<%= f.email_field :email, :size => 30 %>
|
||
|
<br />
|
||
|
|
||
|
<%= f.label :password, "Password:" %>
|
||
|
<%= f.password_field :password, :size => 30 %>
|
||
|
<br />
|
||
|
|
||
|
<%= f.label :password_confirmation, "Password (again):" %>
|
||
|
<%= f.password_field :password_confirmation, :size => 30 %>
|
||
|
<br />
|
||
|
</p>
|
||
|
|
||
|
<p>
|
||
|
<%= submit_tag "Signup" %>
|
||
|
</p>
|
||
|
<% end %>
|
||
|
</div>
|