<ion-modal-view>
  <ion-header-bar>
    <h1 class="title">{{'Login' | translate}}</h1>
    <div class="buttons">
      <button class="button button-dark" ng-click="closeLogin()">{{'Close' | translate}}</button>
    </div>
  </ion-header-bar>
  <ion-content>
    <form ng-submit="doLogin()">
      <div class="list">
        <label class="item item-input">
          <span class="input-label">{{'Username' | translate}}</span>
          <input type="text" ng-model="loginData.username">
        </label>
        <label class="item item-input">
          <span class="input-label">{{'Password' | translate}}</span>
          <input type="password" ng-model="loginData.password">
        </label>
        <label class="item">
          <button class="button button-block button-positive" type="submit">{{'Login' | translate}}</button>
        </label>
      </div>
    </form>
  </ion-content>
</ion-modal-view>
