templates/app/views/devise/passwords/edit.html.haml in cybele-1.8.0 vs templates/app/views/devise/passwords/edit.html.haml in cybele-1.9.0
- old
+ new
@@ -1,11 +1,11 @@
%h2= t('devise.password.edit.title')
-= simple_form_for(resource, :as => resource_name, :url => password_path(resource_name), :html => { :method => :put }) do |f|
+= simple_form_for(resource, as: resource_name, url: password_path(resource_name), html: { method: :put }) do |f|
= f.error_notification
- = f.input :reset_password_token, :as => :hidden
+ = f.input :reset_password_token, as: :hidden
= f.full_error :reset_password_token
.form-inputs
= f.input :password, label: t('devise.password.edit.new_password'), required: true, autofocus: true
= f.input :password_confirmation, label: t('devise.password.edit.confirmation'), required: true
.form-actions
= f.button :submit, t('devise.password.edit.button'), class: 'btn btn-primary'
-= render "devise/shared/links"
+= render 'devise/shared/links'
\ No newline at end of file