parent
c23f58a6df
commit
a70c656690
21 changed files with 309 additions and 2 deletions
8
app/views/users/edit.html.erb
Normal file
8
app/views/users/edit.html.erb
Normal 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>
|
Loading…
Add table
Add a link
Reference in a new issue