Sha256: 54406a0bb7509ac4d8f7130fa18918a323591c761b3fa76f31c0c2a314a5c308

Contents?: true

Size: 1007 Bytes

Versions: 1

Compression:

Stored size: 1007 Bytes

Contents

<h1>Signup</h1>

<%= form_for(@user, :url => { :controller => 'users', :action => "signup"}) do |f| %>
    <% if @user.errors.any? %>
        <div id="error_explanation">
            <h2><%= pluralize(@user.errors.count, "error") %> prohibited you from registering:</h2>

            <ul>
                <% @user.errors.full_messages.each do |msg| %>
                    <li><%= msg %></li>
                <% end %>
            </ul>
        </div>
    <% end %>

    <div class="field">
        <%= f.label :login %><br />
        <%= f.text_field :login %>
    </div>
    <div class="field">
        <%= f.label :password %><br />
        <%= f.password_field :password %>
    </div>
    <div class="field">
        <%= f.label :password_confirmation %><br />
        <%= f.password_field :password_confirmation %>
    </div>
    <div class="field">
        <%= f.label :email %><br />
        <%= f.text_field :email %>
    </div>
    <div class="actions">
        <%= f.submit %>
    </div>
<% end %>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
fs_auth-0.0.1 app/views/users/signup.html.erb