From 8ea33a576682005ffaf406541bf21b1be27e19f9 Mon Sep 17 00:00:00 2001 From: Matthew Lemon Date: Thu, 21 Nov 2024 11:53:54 +0000 Subject: Adds nicer title to list page --- app/views/pdfresources/index.html.erb | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/app/views/pdfresources/index.html.erb b/app/views/pdfresources/index.html.erb index 880fb90..0d79beb 100644 --- a/app/views/pdfresources/index.html.erb +++ b/app/views/pdfresources/index.html.erb @@ -5,10 +5,16 @@ <% content_for :title, "Alphabet Learning - Resources" %> -
-

Featured Resources

+
+
+
+

+ Featured Resources +

+
+
- +
<% featured_resources = @pdfresources.where("feature_slot < 4").order(:feature_slot) %>
@@ -19,7 +25,7 @@ <% end %>
- + <% if Current.session.user.is_admin %> <%= link_to "Add new resource", new_pdfresource_path, class: "rounded-lg py-3 px-5 bg-blue-600 text-white block font-medium" %> <% end %> -- cgit v1.2.3