<% if @type.in? [:public, :private] %>
<%= t(@type == :public ? "protocols.index.public_description" : "protocols.index.private_description") %>
<% elsif @type == :archive %>
<%= t("protocols.index.archive.description") %>
<% end %>
<%# Main tab content %>
<% if @type == :external_protocols %>
<%= render partial: "protocols/index/external_protocols_tab.html.erb" %>
<% else %>
<%= render partial: "protocols/index/protocols_datatable.html.erb" %>
<% end %>