<%
  content_for :main_class, "intro_tpl"
  content_for :title, "Skills Assessment Admin"
%>

<h1>Admin Login</h1>

<%= form_for :auth, url: admin_login_path do |form| %>
  <% if flash[:error].present? %>
    <div class="form-group">
      Need a <%= link_to "password reset", admin_reset_request_path %>?
    </div>
  <% end %>

  <div class="form-group">
    <%= form.label :email %>
    <%= form.email_field :email %>
  </div>

  <div class="form-group">
    <%= form.label :password %>
    <%= form.password_field :password %>
  </div>

  <%= submit_tag "Log in" %>
<% end %>
