<%= @protocol.linked? ? protocol_name(@protocol.parent) : @protocol.name || @protocol.my_module.name %>

<% if @protocol.description.present? %> <%= custom_auto_link(@protocol.tinymce_render(:description), simple_format: false, tags: %w(img), team: current_team) %> <% else %> <%= t('my_modules.protocols.protocol_status_bar.no_description') %> <% end %>
<% @protocol.steps.order(position: :asc).each do |step| %> <% if params[:include_comments] && step.comments.present? %> <% end %>
<% end %>