

<div class="row">
  <div class="col-xs-12">

    <div class="page-header">
      <h1>Parsley Login</h1>
    </div>


    <%= form_tag(login_path, :method => :post) do %>

      <div class="form-group">
        <%= label_tag :username, "Username", class: 'control-label' %>
        <%= text_field_tag :username, nil, autofocus: true, class: 'form-control' %>
      </div>

      <div class="form-group">
        <%= label_tag :password, "Password", class: 'control-label' %>
        <%= password_field_tag :password, nil, class: 'form-control' %>
      </div>

      <%= submit_tag("Login", class: 'btn btn-primary') %>
    <% end %>

    <br />

    <%= link_to "Create an Account", new_user_path, class: 'btn btn-default' %>

  </div>
</div>