<div id="c-sessions">
  <div id="a-new">
    <section>
      <h1>Sign in</h1>
      <%= form_tag(session_path, :class => "simple_form") do %>
        <%= hidden_field_tag "url", params[:url] %>

        <div class="input">
          <label for="name">Name</label>
          <%= text_field_tag :name %>
        </div>

        <div class="input">
          <label for="password">Password</label>
          <%= password_field_tag :password %>

          <%= check_box_tag :remember, "1", true %>
          <label for="remember" id="remember-label">Remember</label>
        </div>

        <div class="input">
          <%= submit_tag "Submit", :data => { :disable_with => "Signing in..." } %>
        </div>
      <% end %>

      <p><%= link_to "Sign in securely", new_session_url(:protocol => "https", :only_path => false) %></p>
    </section>
  </div>
</div>

<% content_for(:page_title) do %>
 Sign in - <%= Danbooru.config.app_name %>
<% end %>

<%= render "secondary_links" %>
