// bootstrap .container - if resource.errors.any? .alert.alert-warning.fade.in{:role => 'alert'} %button.close{'data-dismiss' => 'alert', :type => 'button'} %span{'aria-hidden' => 'true'} × %span.sr-only Close %strong= pluralize(resource.errors.count, 'Error') %ul - resource.errors.each do |attr,msg| %li = attr.to_s.humanize = msg.to_s.humanize = simple_form_for(resource, as: resource_name, url: session_path(resource_name), html: { role: 'form', class: 'form-signin well' }) do |f| %h3.form-signin-heading.text-center The Grand Selection %hr = f.input :email, input_html: {autofocus:'', placeholder: 'Email address', required: '', type: 'email', class: 'form-control' } = f.input :password, input_html: { placeholder: 'Password', required: '', type: 'password', class: 'form-control' } %label.checkbox - if devise_mapping.rememberable? = f.input :remember_me, inline_label: ' Remember me ' , as: :boolean, label: false = f.submit 'Log in', class: 'btn btn-lg btn-primary btn-block' //container = render 'admintgs/shared/links'