Skip to content

Commit

Permalink
ログインログアウトを日本語に修正
Browse files Browse the repository at this point in the history
  • Loading branch information
ishi720 committed Jun 9, 2024
1 parent 95a9635 commit 3027db8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
5 changes: 3 additions & 2 deletions app/views/calendar/index.html.erb
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
<h1 class="ui header">キャラクターカレンダー</h1>

<%# ログイン、ログアウト %>
<% if user_signed_in? %>
<%= button_to 'Logout', destroy_user_session_path, method: :delete, class: "ui button" %>
<%= button_to 'ログアウト', destroy_user_session_path, method: :delete, class: "ui button" %>
<% else %>
<%= link_to 'Login', new_user_session_path, class: "ui button" %>
<%= link_to 'ログイン', new_user_session_path, class: "ui button" %>
<% end %>


Expand Down
5 changes: 3 additions & 2 deletions app/views/characters/index.html.erb
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
<h1 class="ui header">キャラクター一覧</h1>

<%# ログイン、ログアウト %>
<% if user_signed_in? %>
<%= button_to 'Logout', destroy_user_session_path, method: :delete, class: "ui button" %>
<%= button_to 'ログアウト', destroy_user_session_path, method: :delete, class: "ui button" %>
<% else %>
<%= link_to 'Login', new_user_session_path, class: "ui button" %>
<%= link_to 'ログイン', new_user_session_path, class: "ui button" %>
<% end %>


Expand Down

0 comments on commit 3027db8

Please sign in to comment.