Sha256: 9e654607167c71675d6c6e74f8d0302edda23f903d77afccc5e8d7bfce27f1ea
Contents?: true
Size: 1.15 KB
Versions: 5
Compression:
Stored size: 1.15 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, float: true %> <% 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, float: true %> <%= render 'headmin/forms/password', form: f, attribute: :password_confirmation, required: true, float: true %> <%= render 'headmin/forms/password', form: f, attribute: :current_password, required: true, float: true %> <%= 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-turbo-confirm": "Are you sure?", "data-turbo-method": "delete" %> </div> </div>
Version data entries
5 entries across 5 versions & 1 rubygems