Sha256: 55818d4c6253073ce2d84aa4a8921dfc16629740f34a9b2907bb45fee8d43ec7
Contents?: true
Size: 1.82 KB
Versions: 36
Compression:
Stored size: 1.82 KB
Contents
<%= render 'account/shared/page' do |page| %> <% page.title t('.section') %> <% page.body do %> <%= form_for [:account, @user] do |form| %> <%= render 'account/shared/forms/errors', form: form %> <% end if @user.errors.any? %> <div class="grid grid-cols-1 gap-y gap-x-8 lg:grid-cols-2"> <div class="xl:col-span-1 space-y-8"> <%= render 'account/shared/box', divider: true do |box| %> <% box.t title: '.profile.header', description: '.profile.description' %> <% box.body.render "account/users/form", user: @user %> <% end %> <% if two_factor_authentication_enabled? %> <div id="two-factor"> <%= render partial: "devise/registrations/two_factor" %> </div> <% end %> </div> <div class="xl:col-span-1 space-y-8"> <%= render 'account/users/oauth' %> <%= render 'account/shared/box', divider: true do |box| %> <% box.title t('.password.header') %> <% box.body do %> <% within_fields_namespace(:update_self) do %> <%= form_for [:account, @user], html: {id: dom_id(@user, :password), class: 'form'} do |form| %> <% with_field_settings form: form do %> <%= render 'shared/fields/password_field', method: :current_password %> <%= render 'shared/fields/password_field', method: :password, options: {show_strength_indicator: true} %> <%= render 'shared/fields/password_field', method: :password_confirmation %> <% end %> <div class="buttons"> <%= form.submit t('.buttons.update_password'), class: "button" %> </div> <% end %> <% end %> <% end %> <% end %> </div> </div> <% end %> <% end %>
Version data entries
36 entries across 36 versions & 1 rubygems