how did those tabs get there

This commit is contained in:
joshua stein 2012-09-08 19:37:21 -05:00
parent e8d34910a6
commit 729c38d4c7

View file

@ -1,20 +1,20 @@
<div class="box wide">
<div class="legend">
Create an Account
</div>
<div class="legend">
Create an Account
</div>
<%= form_for @new_user, { :url => signup_url,
<%= 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. Your username can be changed later.
</p>
<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. Your username can be changed later.
</p>
<%= error_messages_for(@new_user) %>
<%= error_messages_for(@new_user) %>
<p>
<%= f.label :invitation, "Invited By:", :class => "required" %>
@ -25,26 +25,26 @@
</p>
<p>
<%= f.label :username, "Username:", :class => "required" %>
<%= f.text_field :username, :size => 30 %>
<%= f.label :username, "Username:", :class => "required" %>
<%= f.text_field :username, :size => 30 %>
<span class="hint">
<tt>[A-Za-z0-9][A-Za-z0-9_-]*</tt>
</span>
<br />
<br />
<%= f.label :email, "E-mail Address:", :class => "required" %>
<%= f.email_field :email, :size => 30 %>
<br />
<%= f.label :email, "E-mail Address:", :class => "required" %>
<%= f.email_field :email, :size => 30 %>
<br />
<%= f.label :password, "Password:", :class => "required" %>
<%= f.password_field :password, :size => 30, :autocomplete => "off" %>
<br />
<%= f.label :password, "Password:", :class => "required" %>
<%= f.password_field :password, :size => 30, :autocomplete => "off" %>
<br />
<%= f.label :password_confirmation, "Password (again):",
<%= f.label :password_confirmation, "Password (again):",
:class => "required" %>
<%= f.password_field :password_confirmation, :size => 30,
<%= f.password_field :password_confirmation, :size => 30,
:autocomplete => "off" %>
<br />
<br />
</p>
<p>
@ -72,7 +72,7 @@
</div>
<p>
<%= submit_tag "Signup" %>
<%= submit_tag "Signup" %>
</p>
<% end %>
<% end %>
</div>