2011-03-31 00:10:23 +01:00
|
|
|
.block
|
2014-03-31 11:25:56 +01:00
|
|
|
%h2= title t("devise.confirmations.new.title")
|
2011-03-31 00:10:23 +01:00
|
|
|
.content
|
|
|
|
- if resource.errors.present?
|
|
|
|
.flash
|
|
|
|
.message.error
|
|
|
|
- messages = resource.errors.full_messages.map { |msg| content_tag(:p, msg) }.join.html_safe
|
|
|
|
= messages
|
|
|
|
|
2014-01-21 04:51:49 +00:00
|
|
|
= form_for(resource, as: resource_name, url: confirmation_path(resource_name), html: { method: :post, class: "form" }) do |f|
|
2011-03-31 00:10:23 +01:00
|
|
|
= f.hidden_field :reset_password_token
|
|
|
|
.group.wat-cf
|
2014-03-31 11:25:56 +01:00
|
|
|
= f.label :email, class: "label"
|
|
|
|
= f.text_field :email, class: "text_field"
|
2011-03-31 00:10:23 +01:00
|
|
|
|
|
|
|
.group.navform.wat-cf
|
2014-01-21 04:51:49 +00:00
|
|
|
%button.button{tyle: "submit"}
|
2014-03-31 11:25:56 +01:00
|
|
|
= image_tag("choose.png", alt: t("devise.confirmations.new.submit_html"))
|
|
|
|
= t("devise.confirmations.new.submit_html")
|
2011-03-31 00:10:23 +01:00
|
|
|
%span.text_button_padding
|
2012-05-02 10:18:07 +01:00
|
|
|
= render "devise/shared/links"
|