%= content_for :sidebar do %>
-
<%= t('libraries.sidebar.title') %>
<% repositories.each do |repository| %>
-
<% if current_page?(repository_path(repository)) %>
<%= repository.name %>
<% else %>
<%= link_to repository.name,
repository_path(repository),
data: { 'no-turbolink' => 'true' } %>
<% end %>
<% end %>
<% end %>