Sha256: a08bb7e98a0d8ef49a1acde133cd3579215e91c6cd5bf95ba60845825fab0a14
Contents?: true
Size: 1.14 KB
Versions: 6
Compression:
Stored size: 1.14 KB
Contents
<div> <%= form_for(resource, as: resource_name, url: registration_path(resource_name), html: {method: :put}) do |f| %> <%= render "headmin/views/devise/shared/error_messages", resource: resource %> <%= render 'headmin/forms/email', form: f, attribute: :email, required: true, label: :float %> <% if devise_mapping.confirmable? && resource.pending_reconfirmation? %> <div><%= t('.waiting_confirmation', email: resource.unconfirmed_email) %></div> <% end %> <%= render 'headmin/forms/password', form: f, attribute: :password, required: true, label: :float %> <%= render 'headmin/forms/password', form: f, attribute: :password_confirmation, required: true, label: :float %> <%= render 'headmin/forms/password', form: f, attribute: :current_password, required: true, label: :float %> <%= f.submit t('.change'), class: 'btn btn-lg btn-primary w-100' %> <% end %> <div class="mt-5"> <h4><%= t('.cancel') %></h4> <p><%= t('.unhappy') %></p> <%= button_to t('.cancel'), registration_path(resource_name), class: 'btn btn-lg btn-danger w-100', data: {confirm: "Are you sure?"}, method: :delete %> </div> </div>
Version data entries
6 entries across 6 versions & 1 rubygems