Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
BarbaraOliveira13 committed Feb 28, 2025
1 parent 57819a1 commit 104ad44
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions decidim-core/app/views/layouts/decidim/_logo.html.erb
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
<% if organization %>
<%= link_to root_url do %>
<% if organization.logo.attached? %>
<%= image_tag organization.attached_uploader(:logo).variant_url(:medium),
alt: "#{current_organization_name} (#{t('decidim.errors.not_found.back_home')})" %>
<%= image_tag organization.attached_uploader(:logo).variant_url(:medium), alt: "#{current_organization_name} (#{t("decidim.errors.not_found.back_home")})" %>
<% else %>
<span><%= current_organization_name %></span>
<% end %>
Expand Down

0 comments on commit 104ad44

Please sign in to comment.