<%= t('Protocol') %>

<% if protocol.linked? %> [<%= t("my_modules.protocols.protocol_status_bar.linked") %>] <% else %> [<%= t("my_modules.protocols.protocol_status_bar.unlinked") %>] <% end %>
<% if protocol.steps.length > 0 %> <% end %>
<%= protocol.name %>
<% if protocol.description.present? %>
<%= smart_annotation_text(protocol.shareable_tinymce_render(:description)) %>
<% else %>
<%= t("protocols.no_text_placeholder") %>
<% end %>
<% protocol.steps.sort_by(&:position).each do |step| %>
<%= render partial: "shareable_links/my_modules/step", locals: { step: step } %> <%= render partial: "shareable_links/my_modules/step_comments_sidebar", locals: { step: step } %>
<% end %>