Skip to content

Commit

Permalink
ボタンの配置修正 #4
Browse files Browse the repository at this point in the history
  • Loading branch information
ishi720 committed Jun 5, 2024
1 parent 3ef5601 commit d0bad31
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/views/characters/edit.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
<%= form.label :description, "説明", class: "ui label" %>
<%= form.text_field :description %>
</div>
<div class="field">
<div class="field" style="text-align: center;">
<%= form.submit "更新", class: "ui button primary" %>
<%= link_to "戻る", characters_path, class: "ui primary button" %>
</div>
Expand Down
2 changes: 1 addition & 1 deletion app/views/characters/new.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
<%= form.label :description, "説明", class: "ui label" %>
<%= form.text_field :description %>
</div>
<div class="field">
<div class="field" style="text-align:center;">
<%= form.submit "登録", class: "ui button primary" %>
<%= link_to "戻る", characters_path, class: "ui primary button" %>
</div>
Expand Down

0 comments on commit d0bad31

Please sign in to comment.