Scaffold out User (#20)

Reviewed-on: #20
This commit is contained in:
Andrew Tomaka 2024-07-26 23:24:54 -04:00
parent c23f58a6df
commit a70c656690
21 changed files with 309 additions and 2 deletions

View file

@ -0,0 +1,8 @@
<div class="mx-auto md:w-2/3 w-full">
<h1 class="font-bold text-4xl">Editing user</h1>
<%= render "form", user: @user %>
<%= link_to "Show this user", @user, class: "ml-2 rounded-lg py-3 px-5 bg-gray-100 inline-block font-medium" %>
<%= link_to "Back to users", users_path, class: "ml-2 rounded-lg py-3 px-5 bg-gray-100 inline-block font-medium" %>
</div>