<commit_before>{% extends "manage/product/testcase/_case_form_single_versioned_fields.html" %}

{% load ccforms %}

{% block basicform %}
  <a href="{% url manage_narrow_environments object_type='testcase' object_id=case.id %}" class="select-env-link">select environments</a><commit_msg>Only show environments link when editing test case if its in draft status.<commit_after>{% extends "manage/product/testcase/_case_form_single_versioned_fields.html" %}

{% load ccforms %}

{% block basicform %}
  {% if case.status.DRAFT %}
  <a href="{% url manage_narrow_environments object_type='testcase' object_id=case.id %}" class="select-env-link">select environments</a>
  {% endif %}
{'fraction_non_alphanumeric': 0.1430678466076696, 'fraction_numerical': 0.0, 'mean_word_length': 6.461538461538462, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7251334', 'n_tokens_mistral': 228, 'n_tokens_neox': 208, 'n_words': 44}