Skip to content

Instantly share code, notes, and snippets.

@diegorv
Created March 4, 2009 18:46
Show Gist options
  • Select an option

  • Save diegorv/73944 to your computer and use it in GitHub Desktop.

Select an option

Save diegorv/73944 to your computer and use it in GitHub Desktop.
<div title="Account signup" id="signupform" class="form">
<% form_tag :action=> "create" do %>
<%= error_messages_for 'user' %><br/>
<%= render_flash %>
<h3><%= @heading -%></h3>
<table>
<tr>
<td><label for="user_login">Desired login:</label></td>
<td> <%= text_field "user", "login", :size => 20 %></td>
</tr>
<tr>
<td><label for="user_password">Choose password:</label></td>
<td><%= password_field "user", "password", :size => 20 %></td>
</tr>
<tr>
<td><label for="user_password_confirmation">Confirm password:</label></td>
<td><%= password_field "user", "password_confirmation", :size => 20 %></td>
</tr>
<tr>
<td></td>
<td><input type="submit" id="signup" value="Signup &#187;" class="primary" /></td>
</tr>
</table>
<% end %>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment