Created
August 16, 2011 21:19
-
-
Save azuby/1150205 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<section class="signup box"> | |
<h1>Sign Up</h1> | |
<%= form_for(@user) do |f| %> | |
<%= render 'shared/error_messages', :object => f.object %> | |
<div class="field"> | |
<%= f.label :first_name, "First Name:" %><br /> | |
<%= f.text_field :first_name %> | |
</div> | |
<div class="field"> | |
<%= f.label :last_name, "Last Name:" %><br /> | |
<%= f.text_field :last_name %> | |
</div> | |
<div class="field"> | |
<%= f.label :email, "Email:" %><br /> | |
<%= f.text_field :email %> | |
</div> | |
<div class="field"> | |
<%= f.label :password, "Password:" %><br /> | |
<%= f.password_field :password %> | |
</div> | |
<div class="field"> | |
<%= f.label :password_confirmation, "Confirm Password:" %><br /> | |
<%= f.password_field :password_confirmation %> | |
</div> | |
<div class="field"> | |
<%= f.label :role_id, "Select Role:" %><br /> | |
<%= f.collection_select :role_id, Role.all, :id, :name, {:include_blank => 'Please Select'} %> | |
</div> | |
<div class="actions"> | |
<%= f.submit "Create Account" %> | |
</div> | |
<% end %> | |
</section> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment