<div class="row">
  <div class="col-md-12">
    <% if @message %>
      <div class="alert alert-danger" role="alert">
        <span class="glypthicon glypthicon-exclamation-sign" aria-hidden="true"></span>
        <%= @message %>
      </div>
    <% end %>
  </div>

  <div class="col-md-12">
    <%= bootstrap_form_tag url: '/sessions' do |f| %>
      <%= f.email_field :email, placeholder: "Email", hide_label: true %>
      <%= f.password_field :password, placeholder: "Password", hide_label: true %>
  </div>
  <div class="col-md-12">
      <%= f.submit "Login", class: "btn btn-info btn-block" %>
    <% end %>
  </div>
  <div class="col-md-12">
    <%= link_to 'Don\'t have an account? Register', new_user_path %>
  </div>
</div>

<div class="row">
  <div class="col-md-12">
    <% if @message %>
      <div class="alert alert-danger" role="alert">
        <span class="glypthicon glypthicon-exclamation-sign" aria-hidden="true"></span>
        <%= @message %>
      </div>
    <% end %>
  </div>

  <div class="col-md-12">
    <%= bootstrap_form_tag url: '/sessions' do |f| %>
      <%= f.email_field :email, placeholder: "Email", hide_label: true %>
      <%= f.password_field :password, placeholder: "Password", hide_label: true %>
  </div>
  <div class="col-md-12">
      <%= f.submit "Login", class: "btn btn-info btn-block" %>
    <% end %>
  </div>
  <div class="col-md-12" id="log-reg">
    <%= link_to 'Don\'t have an account? Register', new_user_path %>
  </div>
</div>

Add id to login link
Add id to login link
