lib/generators/aureus/devise_views/templates/devise/confirmations/new.html.haml in aureus-1.3.1 vs lib/generators/aureus/devise_views/templates/devise/confirmations/new.html.haml in aureus-2.1.0
- old
+ new
@@ -1,7 +1,7 @@
-= aureus_box t("devise.ui.confirmations.new.title"), :centered => true, :for => :form do |b|
+= aureus_box t('devise.ui.confirmations.new.title'), centered: true, for: :form do |b|
- b.content do
- = semantic_form_for resource, :as => resource_name, :url => confirmation_path(resource_name), :html => { :method => :post } do |f|
- = f.input :email, :label => t("devise.ui.confirmations.new.email")
- = f.action :submit, :label => t("devise.ui.confirmations.new.submit")
+ = semantic_form_for resource, as: resource_name, url: confirmation_path(resource_name), html: { method: :post } do |f|
+ = f.input :email, label: t('devise.ui.confirmations.new.email')
+ = f.action :submit, label: t('devise.ui.confirmations.new.submit')
- b.foot do
- = render :partial => "{{{folder}}}/shared/links"
\ No newline at end of file
+ = render partial: '{{{folder}}}/shared/links'