Created
October 18, 2012 07:53
-
-
Save abrongersma/3910339 to your computer and use it in GitHub Desktop.
New User view
This file contains 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
<h1>Users#new</h1> | |
<p>Find me in app/views/users/new.html.erb</p> | |
<% flash.each do |key, value| %> | |
<div class="alert fadeout alert-<%= key %>"><%= value %></div> | |
</div> | |
<% end %> | |
<br> | |
<span>You appear to be a new user. Please sign up below.</span><br> | |
<%= form_for @user do |x| %> | |
<%= x.error_messages %> | |
<%= x.text_field(:name, :placeholder => "name") %> | |
<%= x.email_field(:email, :placeholder => "email address") %><br> | |
<%= x.password_field :password, :placeholder => "password" %> | |
<%= x.password_field :password_confirmation, :placeholder => "confirm password" %><br> | |
<%= x.submit "Create User" %> | |
<% end %> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment