-page_title("Área do Associado - Editar Acesso") #wrapper #page-content-wrapper .container-fluid.bg.no-gutters %main.bgWhite#pilars .container %section .row.pb-4 .col-12 .line-top.mx-auto.pb-3 .col-sm-2.col-md-2 .col-sm-8.col-md-8.text-center %h1 Editar Acesso .col-sm-2.col-md-2 %nav.bgWhite.bg#breadcrumb .container-fluid .container.p-0 .row.align-items-center.p-0 .col-12.col-sm-12.col-md-9.p-0 %nav.breadcrumb.bgTransparent.mb-0.d-flex.align-items-center %a.breadcrumb-item{ href: '/' } home %a.breadcrumb-item{ href: '/usuario/home' } Área Logada %a.breadcrumb-item.active{ href: '/usuario/cadastro/editar' } Editar Acesso / .col-sm-12.col-md-3 / #ContentList .container.bgWhite.mt-4.mt-sm-0 %main#list .clearfix .row .col-12 = simple_form_for(resource, as: resource_name, url: registration_path(resource_name), html: { method: :put }) do |f| = f.error_notification .form-inputs = f.input :email, required: true, autofocus: true - if devise_mapping.confirmable? && resource.pending_reconfirmation? %p Currently waiting confirmation for: #{resource.unconfirmed_email} .row .col-md-6 = f.input :password, autocomplete: "off", hint: "deixe em branco caso não queira alterar", required: false .col-md-6 = f.input :password_confirmation, required: false .row .col-md-6 = f.input :current_password, hint: "precisamos da sua senha atual para atualizar suas alterações.", required: true .form-actions = f.button :submit, "Atualizar", class: "btn btn-warning orange mr-2" = link_to "Voltar", :back, class: "btn btn-light grey" #{link_to "Cancelar minha conta", registration_path(resource_name), data: { confirm: "Tem certeza?" }, method: :delete, class: "cancel"}