- edit_mode = action_name == "edit"
summary.d-flex.align-items-start id=dom_id(success_criterion, :header)
  .content.d-flex.align-items-center.w-100
    .result-icon.flex-shrink-0 class=[success_criterion_result_color_classes(success_criterion)]
      span.h1.bi class=[success_criterion_result_icon_classes(success_criterion)]
    .flex-fill.py-1
      span id=dom_id(success_criterion, :position)
        = success_criterion.page.position
        | .
        = success_criterion.element.position
        | .
        = success_criterion.position
      span.me-2
        =< success_criterion.title
      
      - if success_criterion.test_comment.present?
        == tag.i(class: "bi bi-chat-fill me-2")
        
      = success_criterion_badge(success_criterion.check.external_number, extra_classes: "text-bg-info me-1")
      
      = success_criterion_badge(success_criterion.level, extra_classes: "sc-level-#{success_criterion.level.to_s.downcase} me-1")
    i.bi.bi-grip-vertical.handle.me-1
