<div class="container">
  <div class="row">
    <div class="content-block" *ngIf="selectedUser!=null">
      <ngx-loading [show]="loading" [config]="{fullScreenBackdrop: true}"></ngx-loading>
      <h2 class="title">我的資料</h2>
      <form #editProfileForm="ngForm">
        <div class="form-group">
          <label for="account">帳號</label>
          <input type="text" class="form-control" id="account" name="account" [(ngModel)]="selectedUser.Account" readonly>
        </div>
        <div class="form-group">
          <label for="userName">使用者名稱</label>
          <input type="text" class="form-control" id="userName" name="userName" [(ngModel)]="selectedUser.Name" readonly>
        </div>
        <div class="form-group">
          <label for="email">使用者信箱</label>
          <input type="email" class="form-control" id="email" name="email"  [(ngModel)]="selectedUser.Email" readonly>
        </div>
        <div class="form-group">
          <label for="phoneNum">使用者電話</label>
          <input type="tel" class="form-control" id="phoneNum" name="phoneNum" [(ngModel)]="selectedUser.Phone" readonly>
        </div>
        <div class="form-group">
          <label for="stationName">所屬分局</label>
          <input type="tel" class="form-control" id="stationName" name="stationName" [(ngModel)]="selectedUser.PoliceStation.StationName" readonly>
        </div>
      </form>
    </div>
  </div>
</div>
