cours0708/P5B/ruby/mon_projet/app/views/utilisateurs/new.rhtml

17 lines
500 B
Plaintext
Raw Permalink Normal View History

2008-11-25 21:11:16 +00:00
<%= error_messages_for :utilisateur %>
<% form_for :utilisateur, :url => utilisateurs_path do |f| -%>
<p><label for="login">Login</label><br/>
<%= f.text_field :login %></p>
<p><label for="email">Email</label><br/>
<%= f.text_field :email %></p>
<p><label for="password">Password</label><br/>
<%= f.password_field :password %></p>
<p><label for="password_confirmation">Confirm Password</label><br/>
<%= f.password_field :password_confirmation %></p>
<p><%= submit_tag 'Sign up' %></p>
<% end -%>