.row
  .col-md-4
  .col-md-4
    .panel.panel-primary
      .panel-heading.text-center
        %h2.panel-title Sign in
      .panel-body
        = form_for resource, as: resource_name, url: session_path(resource_name), class: 'input-group input-group-lg' do |f|
          = f.text_field :login, placeholder: 'Login', autofocus: true, class: 'form-control'
          %br
          = f.password_field :password, placeholder: 'Password', class: 'form-control'
          %br
          = f.submit 'Sign in', class: 'btn btn-primary btn-block'
        %br
      .panel-footer
        = render 'devise/shared/links'
  .col-md-4

.row
  .col-md-4
  .col-md-4
    .panel.panel-primary
      .panel-heading.text-center
        %h2.panel-title Sign in
      .panel-body
        = form_for resource, as: resource_name, url: session_path(resource_name), class: 'input-group input-group-lg' do |f|
          = f.text_field :login, placeholder: 'Login', autofocus: true, class: 'form-control'
          %br
          = f.password_field :password, placeholder: 'Password', class: 'form-control'
          %br
          = f.submit 'Sign in', class: 'btn btn-primary btn-block'
      .panel-footer
        = render 'devise/shared/links'
  .col-md-4

Remove unnecessary line break in sign in view
Remove unnecessary line break in sign in view
