templates/app/views/devise/confirmations/new.html.haml in cybele-1.8.0 vs templates/app/views/devise/confirmations/new.html.haml in cybele-1.9.0
- old
+ new
@@ -1,9 +1,10 @@
-%h2 Resend confirmation instructions
-= simple_form_for(resource, :as => resource_name, :url => confirmation_path(resource_name), :html => { :method => :post }) do |f|
+%h2
+ = t('devise.confirmation.new.title')
+= simple_form_for(resource, as: resource_name, url: confirmation_path(resource_name), html: { method: :post }) do |f|
= f.error_notification
= f.full_error :confirmation_token
.form-inputs
- = f.input :email, :required => true, :autofocus => true
+ = f.input :email, required: true, autofocus: true
.form-actions
- = f.button :submit, "Resend confirmation instructions"
-= render "devise/shared/links"
+ = f.button :submit, t('devise.confirmation.btn.resend'), class: 'btn btn-primary'
+= render 'devise/shared/links'