A last.fm clone written in Elixir
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
544 B

2 years ago
<div class="card has-margin-top">
<div class="card-content">
<%= for {letter, albums} <- @albums do %>
<%= letter %>
2 years ago
<div class="columns is-multiline">
<%= for album <- albums do %>
<div class="column is-1">
<a href="<%= Routes.album_path(@conn, :show, album) %>" title="<%= album.name %>">
<figure class="image is-96x96">
<img src="<%= Dagon.Listens.Albums.Uploader.url({album.image, album}, :thumb) %>">
</figure>
</a>
</div>
<% end %>
</div>
<% end %>
</div>
</div>