2010-10-31 21:27:13 +08:00
|
|
|
<div title="<%= t('users.account_signup') %>" id="signupform" class="form">
|
2012-04-18 14:22:58 +02:00
|
|
|
<%= form_tag :action=> "create" do %>
|
2007-03-30 04:36:52 +00:00
|
|
|
|
2012-04-27 14:22:16 +02:00
|
|
|
<%= get_list_of_error_messages_for @user %><br/>
|
2007-03-30 04:36:52 +00:00
|
|
|
|
|
|
|
|
<%= render_flash %>
|
|
|
|
|
|
|
|
|
|
<h3><%= @heading -%></h3>
|
|
|
|
|
|
2009-12-29 12:22:44 -08:00
|
|
|
<table>
|
2012-05-12 13:37:36 +02:00
|
|
|
<tr>
|
|
|
|
|
<td><label for="user_login"><%= t('users.desired_login') %>:</label></td>
|
|
|
|
|
<td> <%= text_field "user", "login", :size => 20 %></td>
|
|
|
|
|
</tr>
|
2011-01-20 07:33:39 +08:00
|
|
|
<tr>
|
2012-05-12 13:37:36 +02:00
|
|
|
<td><label for="user_password"><%= t('users.choose_password') %>:</label></td>
|
|
|
|
|
<td><%= password_field "user", "password", :size => 20 %></td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td><label for="user_password_confirmation"><%= t('users.confirm_password') %>:</label></td>
|
|
|
|
|
<td><%= password_field "user", "password_confirmation", :size => 20 %></td>
|
|
|
|
|
</tr>
|
2007-03-30 04:36:52 +00:00
|
|
|
<tr>
|
|
|
|
|
<td></td>
|
2010-10-31 21:27:13 +08:00
|
|
|
<td><input type="submit" id="signup" value="<%= t('users.signup') %> »" class="primary" /></td>
|
2007-03-30 04:36:52 +00:00
|
|
|
</tr>
|
|
|
|
|
</table>
|
2012-05-12 13:37:36 +02:00
|
|
|
<%end-%>
|
2007-03-30 04:36:52 +00:00
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|