Port admin to new layout
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2022-02-20 11:13:07 -06:00
parent 4f2b35ccb9
commit 2e301c3019
19 changed files with 507 additions and 473 deletions

View File

@@ -1,18 +1,16 @@
<%= render partial: "components/header", locals: { page_title: "Account" } %>
<main class="w-full max-w-6xl mx-auto pb-12 px-4 sm:px-6 lg:px-8">
<div class="bg-white rounded-lg shadow px-6 py-12 sm:px-12">
<section>
<h2>Security</h2>
</section>
<%= render layout: "components/main_simple" do %>
<section>
<h2>Security</h2>
</section>
<section>
<h3>Password change</h3>
<p>
<%= form_with(url: settings_reset_password_path, method: :post) do %>
<%= submit_tag("Send me a password reset link", class: 'btn-md btn-gray') %>
<% end %>
</p>
</section>
</div>
</main>
<section>
<h3>Password change</h3>
<p>
<%= form_with(url: settings_reset_password_path, method: :post) do %>
<%= submit_tag("Send me a password reset link", class: 'btn-md btn-gray') %>
<% end %>
</p>
</section>
<% end %>