add hint in pw form
This commit is contained in:
parent
f3289ba881
commit
e3b4f658e2
|
|
@ -28,6 +28,7 @@
|
|||
data-cy="new-password">
|
||||
<small v-if="errors.has('newPassword') && submitted" class=" sbform-input__error" data-cy="new-password-local-errors">{{ errors.first('newPassword') }}</small>
|
||||
<small v-for="error in newPasswordErrors" :key="error" class=" sbform-input__error" data-cy="new-password-remote-errors">{{ error }}</small>
|
||||
<p class="sbform-input__hint">Das Passwort muss mindestens 8 Zeichen lang sein und Grossbuchstaben, Zahlen und Sonderzeichen beinhalten.</p>
|
||||
</div>
|
||||
<button class="button button--primary change-form__submit" data-cy="change-password-button">Speichern</button>
|
||||
</form>
|
||||
|
|
@ -104,6 +105,12 @@
|
|||
color: $color-error;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
&__hint {
|
||||
margin-top: $small-spacing;
|
||||
font-family: $sans-serif-font-family;
|
||||
color: $color-grey;
|
||||
}
|
||||
}
|
||||
|
||||
</style>
|
||||
|
|
|
|||
Loading…
Reference in New Issue