.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: password_path(resource_name), html: { method: :post, class: "form-signin well" }) do |f| %h3.form-signin-heading.text-center Forgot your password? %hr = f.input :email, input_html: {autofocus:"", placeholder: "Email", required: "", type: "email", class: 'form-control' }, label: "false" %hr = f.submit "Sign up", class: "btn btn-lg btn-primary btn-block" = render "admintgs/shared/links" %hr