Sha256: 888875a8010531650f178e8206289abe47245dd6d5b15fee9d3708d14bd9c5fb

Contents?: true

Size: 792 Bytes

Versions: 1

Compression:

Stored size: 792 Bytes

Contents

<% if session[:user] == nil -%>
  <div class="login">
    <div class="login_form">
      <%= form_for(:user, :url => { :controller => 'users', :action => "login"}) do |f| %>

        <div>
          <label for="user_login">Login:</label>
          <%= text_field "user", "login", :size => 20 %>
        </div>

        <div>
          <label for="user_password">Password:</label>
          <%= password_field "user", "password", :size => 20 %>
        </div>

        <div>
          <%= submit_tag "Log in" %>
        </div>

      <% end %>
    </div>
    <div class="login_extras">
      <%= link_to 'Register', :controller => 'users', :action => 'signup' %> |
      <%= link_to 'Forgot my password', :controller => 'users', :action => 'forgot_password' %>
    </div>
  </div>

<% end -%>

Version data entries

1 entries across 1 versions & 1 rubygems

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