Skip to content
This repository has been archived by the owner on Feb 1, 2024. It is now read-only.

Commit

Permalink
userのviewの修正
Browse files Browse the repository at this point in the history
  • Loading branch information
1250382KoukiYamada committed Dec 22, 2023
1 parent f88e648 commit fd82a4d
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions app/views/users/edit.html.erb
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
<body>
<div class="left">

<div class="center">

<div>
<h2>マイページ編集</h2>
</div>

<div class="center">
<div>
<%= form_with(model: @user, url: user_path(@user), method: :patch) do |form| %>
<div class="box">
<%= form.label :name, "ユーザ名" %>
Expand All @@ -29,4 +32,6 @@
<%= link_to "戻る", user_path(@user) %>
</div>
</div>

</div>
</body>

0 comments on commit fd82a4d

Please sign in to comment.