| 1 | |
| 2 | <aside class="mb-3"> |
| 3 | <% if @chords.present? %> |
| 4 | <div class="bluebox-heading"> |
| 5 | <h2><%= song.name %></h2> |
| 6 | </div> |
| 7 | <% @chords.each do |chord| %> |
| 8 | <h4> |
| 9 | <%= link_to( |
| 10 | chord.link_title, |
| 11 | guitar_chord_detail_path(chord.slug) |
| 12 | ) %> |
| 13 | </h4> |
| 14 | <span style="text-transform: capitalize;font-style: italic;"> |
| 15 | <%= t("song_updated_at", date: chord.updated_at.strftime("%B %-d, %Y")) %> |
| 16 | </span> |
| 17 | <% end %> |
| 18 | <% end %> |
| 19 | </aside> |
| 20 | <aside class="mb-3"> |
| 21 | <div class="mb-3"> |
| 22 | <h2><%= song.album.name %></h2> |
| 23 | </div> |
| 24 | <% song.album.songs.each do |song| %> |
| 25 | <h4 class="mb-3 fs-6"><%= yield(song) %></h4> |
| 26 | <% end %> |
| 27 | </aside> |