<div class="editor-container">
  <h4 class="bg-primary">Send Temporary Password</h4>

  <form name="createUserForm" ng-submit="createUserForm.$valid && doNext()" enter-press="createUserForm.$valid && doNext()" novalidate>
    <div class="form-group">
      <p>Enter your email address to receive a temporary password used for setting up the user's account.</p>
      <input class="form-control" type="email" name="email" placeholder="Enter your email address here..." ng-model="email" required>
      <p class="help-block" ng-show="email.$invalid && email.$dirty" >Please enter a valid email address.</p>
    </div>

    <div class="left-and-right">
      <go-back state="register"></go-back>
      <button class="btn btn-primary btn-next" type="submit" ng-disabled="createUserForm.$invalid">Next</button>
    </div>
  </form>
</div>