1 <% content_for :heading_class, "pb-0" %>
3 <% content_for :heading do %>
4 <h1><%= t("users.show.my messages") %></h1>
5 <ul class="nav nav-tabs">
6 <% { ".my_inbox" => inbox_messages_path, ".my_outbox" => outbox_messages_path }.each do |i18n_key, path| %>
8 <% if path == active_link_path %>
9 <a class="nav-link active"><%= t(i18n_key) %></a>
11 <%= link_to t(i18n_key), path, :class => "nav-link" %>