<% unless preview %>

<%= render partial: "protocols/header/name_label.html.erb" %>

<% end %>
<%= l(@protocol.created_at, format: :full) %>
<%= render partial: "protocols/header/updated_at_label.html.erb" %>
<%= @protocol.added_by.full_name %>
<%= render partial: "protocols/header/authors_label.html.erb", locals: {editable: !preview} %>
<%= select_tag "keyword-input-field", options_for_select(@protocol.protocol_keywords.map{|i| i.name}),{ 'data-placeholder': t("protocols.no_keywords"), 'data-update-url': keywords_protocol_path(@protocol, format: :json), 'data-view-mode': !can_manage_protocol_in_repository?(@protocol) || preview, class: 'hidden' } %>
<%= render partial: "protocols/header/description_label.html.erb", locals: {edit_mode: !preview} %>