1 <ul class="nav nav-tabs">
3 <%= link_to t(".all_blocks"),
5 :class => ["nav-link", { :active => action_name == "index" }] %>
7 <% if current_user&.blocks&.exists? %>
9 <%= link_to t(".blocks_on_me"),
10 user_blocks_on_path(current_user),
11 :class => ["nav-link", { :active => action_name == "blocks_on" && current_user == @user }] %>