Sha256: 0754ce85d963c20e6200e6d38b4b7b538a45db183d02672912b05c5dadc1dcca

Contents?: true

Size: 1.19 KB

Versions: 1

Compression:

Stored size: 1.19 KB

Contents

<% @page_title = l(:please_login) %>

<div title="<%= title_helper %>" class="form">
  <%= head_helper ' ' %>

  <div class="form-padding">
    <%= start_form_tag_helper  %>
      <table>
        <tr class="two_columns">
          <td class="prompt"><label>Login:</label></td>
          <td class="value"><%= text_field 'user', 'login', :size => 30, :value => cookies['autologin'] && User.find(cookies['autologin'][0]).login %></td>
        </tr>
        <tr class="two_columns">
          <td class="prompt"><label>Password:</label></td>
          <td class="value"><%= password_field 'user', 'password', :size => 30 %></td>
        </tr>
        <tr class="two_columns">
          <td class="prompt"><label>Remember me:</label></td>
          <td class="value"><%= check_box 'user', 'autologin', :checked => !cookies['autologin'] %></td>
        </tr>
      </table>

      <div class="button-bar">
        <%= submit_tag l(:log_in) %>
        <%= link_to 'Register for an account', :action => 'signup' %> |
        <%= link_to 'Forgot my password', :action => 'forgot_password' %>      </div>
    </form>
  </div>
</div>

<script type="text/JavaScript">
document.getElementById('user_login').select();
</script>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
backlog-0.10.0 app/views/user/login.rhtml