2009-06-02 00:08:57 +02:00
|
|
|
<h1>Register</h1>
|
|
|
|
|
2009-06-09 00:30:22 +02:00
|
|
|
<% form_for @user do |f| %>
|
2009-06-02 00:08:57 +02:00
|
|
|
<%= f.error_messages %>
|
|
|
|
<%= render :partial => "form", :object => f %>
|
|
|
|
<%= f.submit "Register" %>
|
2009-06-09 00:30:22 +02:00
|
|
|
<% end %>
|
|
|
|
|
|
|
|
<br /><%= link_to "All users", users_path %>
|