Skip to content

Commit

Permalink
BookMaster の詳細画面に Author が表示されていない問題を修正。
Browse files Browse the repository at this point in the history
  • Loading branch information
mikoto2000 committed Sep 7, 2024
1 parent 32ea9b5 commit ad74ee6
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions app/views/book_masters/_book_master.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,16 @@
<%= book_master.title %>
</td>
</tr>
<tr>
<td>
<strong>
<%= BookMaster.human_attribute_name(:author) %>
</strong>
</td>
<td>
<%= book_master.authors.map{|a| a.name}.join(", ") %>
</td>
</tr>
<tr>
<td>
<strong>
Expand Down

0 comments on commit ad74ee6

Please sign in to comment.