<%=t "protocols.header.created_at" %>:
<%= l(@protocol.created_at, format: :full) %>
<%=t "protocols.header.updated_at" %>:
<%= render partial: "protocols/header/updated_at_label.html.erb" %>
<%=t "protocols.header.added_by" %>:
<%= @protocol.added_by.full_name %>
<% if can_manage_protocol_in_repository?(@protocol) %>
<% else %>
<% end %>
<%=t "protocols.header.keywords" %>:
<% if can_manage_protocol_in_repository?(@protocol) %>
<%= link_to edit_keywords_modal_protocol_path(@protocol, format: :json), remote: true, style: "color: inherit;", data: { action: "edit-keywords", role: "keywords-refresh" } do %>
<%= render partial: "protocols/header/keywords_label.html.erb" %>
<% end %>
<% else %>
<%= render partial: "protocols/header/keywords_label.html.erb" %>
<% end %>
<% if can_manage_protocol_in_repository?(@protocol) %>
<% else %>
<% end %>
<%=t "protocols.header.authors" %>:
<% if can_manage_protocol_in_repository?(@protocol) %>
<%= link_to edit_authors_modal_protocol_path(@protocol, format: :json), remote: true, style: "color: inherit;", data: { action: "edit-authors", role: "authors-refresh" } do %>
<%= render partial: "protocols/header/authors_label.html.erb" %>
<% end %>
<% else %>
<%= render partial: "protocols/header/authors_label.html.erb" %>
<% end %>
<%= render partial: "protocols/header/description_label.html.erb", locals: {edit_mode: true} %>
<%= render partial: "protocols/header/edit_metadata_modal.html.erb" %>
<%= javascript_include_tag "protocols/header" %>