Introduce sidebar nav components, settings nav
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing

This commit is contained in:
2022-02-24 18:56:07 -06:00
parent ca940ec35d
commit ed886d8182
10 changed files with 77 additions and 8 deletions

View File

@@ -1,9 +1,9 @@
<%= render HeaderComponent.new(title: "Account") %>
<%= render HeaderComponent.new(title: "Settings") %>
<%= render MainSimpleComponent.new do %>
<%= render MainWithSidenavComponent.new(sidenav_partial: 'shared/sidenav_settings') do %>
<section>
<h2 class="mb-12">Security</h2>
<h3>Password change</h3>
<h3>Password</h3>
<p class="mb-12">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') %>