- content_for :title do = t 'devise.invitations.edit.title' - @disabled = false %h3= t 'devise.invitations.edit.header' %p= t 'devise.invitations.edit.instructions' = simple_form_for resource, :as => resource_name, :url => invitation_path(resource_name), :html => { :method => :put } do |f| = f.error_notification = f.hidden_field :invitation_token .form-inputs .row .input-field.col.s12.m6 = f.input :password, class: :validate, disabled: @disabled, autofocus: true .input-field.col.s12.m6 = f.input :password_confirmation, class: :validate, disabled: @disabled, autofocus: true .form-actions.right-align .row = f.button :submit, t("devise.invitations.edit.submit_button")