1<div class="dialog-med">
2  <div class="panel-header">
3    <h2>Reset Password - {{::resetPasswordDialogCtl.user.name}}</h2>
4  </div>
5  <form
6     novalidate
7     class="forms"
8     name="resetPasswordDialogCtl.form"
9     ng-submit="resetPasswordDialogCtl.submit()">
10    <div class="panel-content">
11      <div
12         class="error error-form">
13        <div ng-show="resetPasswordDialogCtl.form.$submitted && resetPasswordDialogCtl.form.passwordNew.$error.mnEqual">
14          'Password' and 'Confirm Password' do not match
15        </div>
16        <div ng-if="('isString' | lodash:resetPasswordDialogCtl.errors)">
17          {{resetPasswordDialogCtl.errors}}</div>
18        <div ng-if="('isObject' | lodash:resetPasswordDialogCtl.errors)">
19          <div ng-repeat="(key, value) in resetPasswordDialogCtl.errors">{{value}}</div>
20        </div>
21      </div>
22      <div class="formrow">
23        <label for="password_current">Current Password</label>
24        <input
25           type="password"
26           id="password_current"
27           ng-model="resetPasswordDialogCtl.user.currentPassword"
28           autocorrect="off"
29           spellcheck="false"
30           mn-autocomplete-off
31           autocapitalize="off">
32      </div>
33      <div class="formrow">
34        <label for="password_new">New Password</label>
35        <input
36           type="password"
37           id="password_new"
38           name="passwordNew"
39           ng-model="resetPasswordDialogCtl.user.password"
40           autocorrect="off"
41           spellcheck="false"
42           mn-equal="{{resetPasswordDialogCtl.user.confirmPassword}}"
43           mn-autocomplete-off
44           autocapitalize="off">
45      </div>
46      <div class="formrow">
47        <label for="password_confirm">Confirm Password</label>
48        <input
49           type="password"
50           id="password_confirm"
51           ng-model="resetPasswordDialogCtl.user.confirmPassword"
52           autocorrect="off"
53           spellcheck="false"
54           mn-autocomplete-off
55           autocapitalize="off">
56      </div>
57    </div>
58    <div class="panel-footer">
59      <a  ng-click="$dismiss()">Cancel</a>
60      <button type="submit">Save</button>
61    </div>
62  </form>
63</div>
64