<div class="header">
  <div class="title">
    <div class="submenu">
      <a ui-sref="users.user.list" class="btn btn-sm btn-default">
        <i class="fa fa-angle-double-left fa-lg"></i>
        <translate>Back to overview</translate>
      </a>
    </div>
    <h1 translate>Presence</h1>
  </div>
</div>

<div class="details">

  <div uib-alert ng-show="alert.show" ng-class="'alert-' + (alert.type || 'warning')" close="alert={}">
    {{ alert.msg }}
  </div>

  <form ng-submit="changeState()" class="row">
    <div class="col-md-6">
      <div class="form-group">
        <label for="userNumber" translate>Enter participant number</label>
        <input type="text" class="form-control" id="userNumber"
          ng-model="number" ng-change="updateSuggestions()">
      </div>
      <button type="submit" class="btn btn-sm btn-primary" translate>
        Change presence
      </button>
    </div>
  </form>
</div>
