From 06222c54c248a03d0b019db12bc365ab187e317a Mon Sep 17 00:00:00 2001 From: Matthew Lemon Date: Thu, 14 Nov 2024 11:28:08 +0000 Subject: Adds nice reminders on the edit page re pdfs and thumbnails --- app/views/pdfresources/edit.html.erb | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'app/views/pdfresources/edit.html.erb') diff --git a/app/views/pdfresources/edit.html.erb b/app/views/pdfresources/edit.html.erb index bab5c81..9e3427e 100644 --- a/app/views/pdfresources/edit.html.erb +++ b/app/views/pdfresources/edit.html.erb @@ -1,8 +1,13 @@
-

Editing <%= @pdfresource.name %>

+

Editing <%= @pdfresource.name %>

<%= render "form", pdfresource: @pdfresource %> - <%= link_to "Show this pdfresource", @pdfresource, class: "ml-2 rounded-lg py-3 px-5 bg-gray-100 inline-block font-medium" %> - <%= link_to "Back to pdfresources", pdfresources_path, class: "ml-2 rounded-lg py-3 px-5 bg-gray-100 inline-block font-medium" %> +
+ <%= link_to "Back to resource", @pdfresource, + class: "bg-gray-500 hover:bg-gray-600 text-white font-semibold py-2 px-6 rounded-lg" %> + + <%= link_to "Back to all resources", pdfresources_path, + class: "bg-gray-500 hover:bg-gray-600 text-white font-semibold py-2 px-6 rounded-lg" %> +
-- cgit v1.2.3