Rename settings page

This commit is contained in:
Râu Cao
2023-01-09 14:41:16 +08:00
parent 3f1c4f17a7
commit f1ef257c97
6 changed files with 12 additions and 12 deletions

View File

@@ -0,0 +1,13 @@
<%= render HeaderComponent.new(title: "Settings") %>
<%= render MainWithSidenavComponent.new(sidenav_partial: 'shared/sidenav_settings') do %>
<section>
<h3>Password</h3>
<p class="mb-8">Use the following button to request an email with a password reset link:</p>
<p>
<%= form_with(url: settings_reset_password_path, method: :post) do %>
<%= submit_tag("Send me a password reset link", class: 'btn-md btn-gray w-full sm:w-auto') %>
<% end %>
</p>
</section>
<% end %>