Skip to content

Commit

Permalink
add filename in the img link
Browse files Browse the repository at this point in the history
  • Loading branch information
BarbaraOliveira13 committed Mar 4, 2025
1 parent 6831b7c commit 55a4979
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
<% if current_organization.official_img_footer.attached? %>
<%= link_to current_organization.official_url, class: "block mb-6" do %>
<%= image_tag current_organization.attached_uploader(:official_img_footer).url, alt: current_organization_name, class: "max-h-16" %>
<%= image_tag current_organization.attached_uploader(:official_img_footer).url,
alt: "#{current_organization.official_img_footer.filename}",
class: "max-h-16" %>
<% end %>
<% end %>
<div class="text-sm text-white prose">
Expand Down

0 comments on commit 55a4979

Please sign in to comment.