43 lines
1,018 B
Plaintext
43 lines
1,018 B
Plaintext
<div class="box">
|
|
<div class="legend">
|
|
Create an Account
|
|
</div>
|
|
|
|
<%= form_for @new_user, { :url => signup_url,
|
|
:autocomplete => "off" } do |f| %>
|
|
<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 :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 %>
|
|
</fieldset>
|