Skip to content

Commit

Permalink
Update HTML attribute for better syntax and follow-up on the review
Browse files Browse the repository at this point in the history
  • Loading branch information
BarbaraOliveira13 committed Jan 10, 2025
1 parent dfba998 commit 3c307cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion decidim-core/app/views/decidim/pages/_tabbed.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<ul id="dropdown-menu-pages" class="vertical-tabs__list" role="menu">
<% pages.each do |sibling| %>
<li class="<%= "is-active" if page == sibling %>" role="menuitem">
<%= link_to translated_attribute(sibling.title), page_path(sibling.slug), aria_current: (page == sibling).to_s %>
<%= link_to translated_attribute(sibling.title), page_path(sibling.slug), "aria_current": (page == sibling).to_s %>
</li>
<% end %>
</ul>
Expand Down

0 comments on commit 3c307cc

Please sign in to comment.