diff options
Diffstat (limited to 'app/views/pdfresources/_pdfresource.html.erb')
-rw-r--r-- | app/views/pdfresources/_pdfresource.html.erb | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/app/views/pdfresources/_pdfresource.html.erb b/app/views/pdfresources/_pdfresource.html.erb index 12b2b58..8c96080 100644 --- a/app/views/pdfresources/_pdfresource.html.erb +++ b/app/views/pdfresources/_pdfresource.html.erb @@ -4,7 +4,7 @@ </div> <p class="my-5"> - <strong class="block font-bold mb-2"><%= pdfresource.name %></strong> + <%= link_to pdfresource.name, pdfresource, class: "text-blue-500 font-bold" %> </p> <div class="px-6 pt-4 pb-2"> @@ -39,6 +39,10 @@ <% end %> </div> + <p class="my-5"> + <strong class="block font-medium mb-1">Resource type:</strong> + <%= pdfresource.resource_type&.name if pdfresource.respond_to?(:resource_type) %> + </p> <p class="my-5"> <strong class="block font-medium mb-1">Price:</strong> |