From 9099b7d99da638901d597e579f3d1e4532deae41 Mon Sep 17 00:00:00 2001 From: Justin Coyne Date: Thu, 31 Oct 2024 13:37:43 -0500 Subject: [PATCH] Make each library a separate section Fixes #529 --- app/views/libraries/index.html.erb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/views/libraries/index.html.erb b/app/views/libraries/index.html.erb index 337490d9..a1f4970a 100644 --- a/app/views/libraries/index.html.erb +++ b/app/views/libraries/index.html.erb @@ -3,15 +3,15 @@ <%= render 'range' %> <% @libraries.each do |library| %> -
+
-

<%= link_to library.name, library %>

+
<%= link_to library.name, library %>
<%= render partial: 'location_hours', locals: { locations: library.locations } %>
-
+ <% end %> <%= link_to 'New Library', new_library_path if can? :create, Library %>