.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 = form_for(resource, as: resource_name, url: confirmation_path(resource_name), html: { method: :post, class: "form-signin well" }) do |f| %h3.form-signin-heading.text-center Resend confirmation instructions %hr = f.label :email, input_html: {autofocus:"", placeholder: "Email", required: "", type: "email", class: 'form-control' } %hr = f.submit "esend confirmation instructions", class: "btn btn-lg btn-danger btn-block" = render "admintgs/shared/links"