Skip to content

Commit 4f0b616

Browse files
authored
Merge pull request #1453 from noone0212/redasterisk
"Added UI visualization for important fields in user create in platform client.
2 parents 7a54679 + f6b2ebf commit 4f0b616

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

app/settings/users/users-edit.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ <h1 class="mode-context-title" ng-show="!user.id" translate>app.add_user</h1>
4040

4141
<form name="form">
4242
<div class="form-sheet">
43-
<div class="form-field" ng-class="{ 'error': form.full_name.$invalid && form.full_name.$dirty }">
43+
<div class="form-field init required" ng-class="{ 'error': form.full_name.$invalid && form.full_name.$dirty }">
4444
<label translate>user.full_name</label>
4545
<input type="text" placeholder="{{'user_create.full_name' | translate}}" ng-maxlength="150" ng-model="user.realname" name="full_name" required>
4646
<div ng-repeat="(error, value) in form.full_name.$error"
@@ -53,8 +53,8 @@ <h1 class="mode-context-title" ng-show="!user.id" translate>app.add_user</h1>
5353
</div>
5454
</div>
5555

56-
<div class="form-field" ng-class="{ 'error': form.email.$invalid && form.email.$dirty }">
57-
<label class="hidden" translate>user.email</label>
56+
<div class="form-field init required" ng-class="{ 'error': form.email.$invalid && form.email.$dirty }">
57+
<label translate>user.email</label>
5858
<input type="email" placeholder="{{'user_create.email' | translate}}" ng-maxlength="150" ng-model="user.email" name="email" required>
5959
<div ng-repeat="(error, value) in form.email.$error"
6060
ng-show="form.email.$dirty"
@@ -66,8 +66,8 @@ <h1 class="mode-context-title" ng-show="!user.id" translate>app.add_user</h1>
6666
</div>
6767
</div>
6868

69-
<div class="form-field" ng-class="{ 'error': form.password.$invalid && form.password.$dirty }">
70-
<label class="hidden" translate>user.password</label>
69+
<div class="form-field init required" ng-class="{ 'error': form.password.$invalid && form.password.$dirty }">
70+
<label translate>user.password</label>
7171

7272
<a class="button button-flat" ng-show="!passwordShown" ng-click="showPassword()" translate>user.update_password</a>
7373

0 commit comments

Comments
 (0)