<commit_before><h3 *ngIf="virtualMachineId" class="mdl-dialog__title">{{ 'VOLUME_ATTACHMENT_CHOOSE' | translate }}</h3>
<h3 *ngIf="!virtualMachineId" class="mdl-dialog__title">{{ 'VOLUME_ATTACHMENT_NO_VMS' | translate }}</h3>
<form (ngSubmit)="attach($event)" #volumeAttachmentForm="ngForm">
  <div class="mdl-dialog__content">
    <div >
      <mdl-select
        *ngIf="virtualMachineId"
        [(ngModel)]="virtualMachineId"
        id="vm"
        name="vm"
      >
        <mdl-option
          *ngFor="let vm of virtualMachines"
          [value]="vm.id"
        >
          {{ vm.name }}
        </mdl-option>
      </mdl-select>
    </div>
    <div *ngIf="!virtualMachineId">{{ 'VOLUME_ATTACHMENT_NO_VMS_IN_ZONE' | translate }}</div>
  </div>
  <div class="mdl-dialog__actions">
    <button
      *ngIf="virtualMachines"
      mdl-colored="primary"
      mdl-button
      mdl-ripple
      type="submit"
    >
      {{ 'ATTACH' | translate }}
    </button>
    <button
      mdl-colored="primary"<commit_msg>#3279 fix volume attachment button labels<commit_after><h3 *ngIf="virtualMachineId" class="mdl-dialog__title">{{ 'VOLUME_ATTACHMENT_CHOOSE' | translate }}</h3>
<h3 *ngIf="!virtualMachineId" class="mdl-dialog__title">{{ 'VOLUME_ATTACHMENT_NO_VMS' | translate }}</h3>
<form (ngSubmit)="attach($event)" #volumeAttachmentForm="ngForm">
  <div class="mdl-dialog__content">
    <div >
      <mdl-select
        *ngIf="virtualMachineId"
        [(ngModel)]="virtualMachineId"
        id="vm"
        name="vm"
      >
        <mdl-option
          *ngFor="let vm of virtualMachines"
          [value]="vm.id"
        >
          {{ vm.name }}
        </mdl-option>
      </mdl-select>
    </div>
    <div *ngIf="!virtualMachineId">{{ 'VOLUME_ATTACHMENT_NO_VMS_IN_ZONE' | translate }}</div>
  </div>
  <div class="mdl-dialog__actions">
    <button
      *ngIf="virtualMachines"
      mdl-colored="primary"
      mdl-button
      mdl-ripple
      type="submit"
    >
      {{ (virtualMachineId ? 'ATTACH' : 'OK') | translate }}
    </button>
    <button
      mdl-colored="primary"
{'fraction_non_alphanumeric': 0.1671455938697318, 'fraction_numerical': 0.005747126436781609, 'mean_word_length': 2.8685185185185187, 'pattern_counts': {'":': 0, '<': 41, '<?xml version=': 0, '>': 39, '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': '3110784', 'n_tokens_mistral': 755, 'n_tokens_neox': 746, 'n_words': 110}