<commit_before><ion-header>
  <ion-navbar color="primary">
    <ion-title>
      Upload Trip
    </ion-title>
  </ion-navbar>
</ion-header>

<ion-content>
  <p padding>
    Help improve the bike network by sharing your trip with local planners
    and officials! The details of your trip will be kept private.
  </p>
  <ion-list no-margin>
    <ion-item-group>
      <ion-item-divider color="light">Trip Information</ion-item-divider>
      <ion-item>
        <ion-label>I biked from</ion-label>
        <ion-select [(ngModel)]="trip.origin">
          <ion-option *ngFor="let option of locationTypeOptions" value="{{option.value}}">{{option.label}}</ion-option>
        </ion-select>
      </ion-item>
      <ion-item>
        <ion-label>I biked to</ion-label>
        <ion-select [(ngModel)]="trip.destination">
          <ion-option *ngFor="let option of locationTypeOptions" value="{{option.value}}">{{option.label}}</ion-option>
        </ion-select>
      </ion-item>
      <ion-item>
        <ion-label>I took my bike on a bus.</ion-label>
        <ion-checkbox [(ngModel)]="trip.transit"></ion-checkbox>
      </ion-item>
    </ion-item-group>
  </ion-list>
  <div padding class="no-top-padding">
    <p>
      <button ion-button block icon-left color="primary" (click)="uploadTrip()">
        <ion-icon name="cloud-upload"></ion-icon>
        Upload
      </button>
    </p>
    <p>
      <button ion-button block icon-left color="light" (click)="closeModal()">
        <ion-icon name="close"></ion-icon>
        Cancel
      </button>
    </p>
  </div>
</ion-content>
<commit_msg>Moved upload form buttons into nav bar.<commit_after><ion-header>
  <ion-navbar color="primary">
    <ion-title>
      Upload Trip
    </ion-title>
    <ion-buttons start>
      <button ion-button icon-left (click)="closeModal()">
        <ion-icon name="close"></ion-icon>
        Cancel
      </button>
    </ion-buttons>
    <ion-buttons end>
      <button ion-button icon-left (click)="uploadTrip()">
        <ion-icon name="cloud-upload"></ion-icon>
        Upload
      </button>
    </ion-buttons>
  </ion-navbar>
</ion-header>

<ion-content>
  <p padding>
    Help improve the bike network by sharing your trip with local planners
    and officials! The details of your trip will be kept private.
  </p>
  <ion-list no-margin>
    <ion-item-group>
      <ion-item-divider color="light">Trip Information</ion-item-divider>
      <ion-item>
        <ion-label>I biked from</ion-label>
        <ion-select [(ngModel)]="trip.origin">
          <ion-option *ngFor="let option of locationTypeOptions" value="{{option.value}}">{{option.label}}</ion-option>
        </ion-select>
      </ion-item>
      <ion-item>
        <ion-label>I biked to</ion-label>
        <ion-select [(ngModel)]="trip.destination">
          <ion-option *ngFor="let option of locationTypeOptions" value="{{option.value}}">{{option.label}}</ion-option>
        </ion-select>
      </ion-item>
      <ion-item>
        <ion-label>I took my bike on a bus.</ion-label>
        <ion-checkbox [(ngModel)]="trip.transit"></ion-checkbox>
      </ion-item>
    </ion-item-group>
  </ion-list>
</ion-content>

{'fraction_non_alphanumeric': 0.17403663929248261, 'fraction_numerical': 0.0, 'mean_word_length': 2.5704622322435173, 'pattern_counts': {'":': 0, '<': 105, '<?xml version=': 0, '>': 105, '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': '7372225', 'n_tokens_mistral': 1064, 'n_tokens_neox': 1027, 'n_words': 224}