<commit_before><template>

  <div>
    <form @submit.prevent="submitData">
      <UiAlert
        v-if="showServerError"
        type="error"
        :dismissible="false"
      >
        {{ submitErrorMessage }}
      </UiAlert>

      <fieldset>
        <KTextbox
          ref="titleField"
          v-model="title"
          :label="coachString('titleLabel')"
          :maxlength="50"
          :autofocus="true"
          :invalid="titleIsInvalid"
          :invalidText="titleIsInvalidText"
          :disabled="disabled || formIsSubmitted"
          @blur="titleIsVisited = true"
          @input="showTitleError = false"
          @keydown.enter="submitData"
        />

        <KTextbox
          v-if="showDescriptionField"
          v-model="description"
          :label="coachString('descriptionLabel')"
          :maxlength="200"
          :disabled="disabled || formIsSubmitted"
          :textArea="true"
        />
      </fieldset>

      <fieldset v-if="assignmentType !== 'new_lesson'">
        <legend>
          {{ coachString('statusLabel') }}
        </legend>
        <p>
          {{ assignmentStrings.statusExplanation }}
        </p>
        <KRadioButton
          v-model="activeIsSelected"
          :label="assignmentStrings.activeStatus"
          :value="true"
          :disabled="disabled || formIsSubmitted"
        />
        <KRadioButton
          v-model="activeIsSelected"
          :label="assignmentStrings.inactiveStatus"
          :value="false"
          :disabled="disabled || formIsSubmitted"
        />
      </fieldset>

      <fieldset>
        <legend>
          {{ coachString('recipientsLabel') }}
        </legend>
        <RecipientSelector
          v-model="selectedCollectionIds"
          :groups="groups"
          :classId="classId"
          :disabled="disabled || formIsSubmitted"
        />
      </fieldset>

      <slot name="resourceTable"></slot>
    </form>

    <BottomAppBar v-if="assignmentType !== 'new_lesson'">
      <KButton
        :text="coreString('cancelAction')"
        appearance="flat-button"
        :primary="false"
        :disabled="disabled"
        @click="$emit('cancel')"
      />
      <KButton
        :text="coreString('saveChangesAction')"
        :primary="true"<commit_msg>Remove quiz status from AssignmentDetailsModal form<commit_after><template>

  <div>
    <form @submit.prevent="submitData">
      <UiAlert
        v-if="showServerError"
        type="error"
        :dismissible="false"
      >
        {{ submitErrorMessage }}
      </UiAlert>

      <fieldset>
        <KTextbox
          ref="titleField"
          v-model="title"
          :label="coachString('titleLabel')"
          :maxlength="50"
          :autofocus="true"
          :invalid="titleIsInvalid"
          :invalidText="titleIsInvalidText"
          :disabled="disabled || formIsSubmitted"
          @blur="titleIsVisited = true"
          @input="showTitleError = false"
          @keydown.enter="submitData"
        />

        <KTextbox
          v-if="showDescriptionField"
          v-model="description"
          :label="coachString('descriptionLabel')"
          :maxlength="200"
          :disabled="disabled || formIsSubmitted"
          :textArea="true"
        />
      </fieldset>

      <fieldset>
        <legend>
          {{ coachString('recipientsLabel') }}
        </legend>
        <RecipientSelector
          v-model="selectedCollectionIds"
          :groups="groups"
          :classId="classId"
          :disabled="disabled || formIsSubmitted"
        />
      </fieldset>

      <slot name="resourceTable"></slot>
    </form>

    <BottomAppBar v-if="assignmentType !== 'new_lesson'">
      <KButton
        :text="coreString('cancelAction')"
        appearance="flat-button"
        :primary="false"
        :disabled="disabled"
        @click="$emit('cancel')"
      />
      <KButton
        :text="coreString('saveChangesAction')"
        :primary="true"
{'fraction_non_alphanumeric': 0.13795712484237074, 'fraction_numerical': 0.0025220680958385876, 'mean_word_length': 1.9841986455981941, 'pattern_counts': {'":': 0, '<': 51, '<?xml version=': 0, '>': 49, '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': '5110528', 'n_tokens_mistral': 1143, 'n_tokens_neox': 1098, 'n_words': 148}