Little changes on forms presentation

This commit is contained in:
Greg Burri 2025-05-07 13:38:01 +02:00
parent 3ab168fd67
commit fcadaf855f
6 changed files with 15 additions and 44 deletions

View file

@ -28,11 +28,11 @@
<label for="input-password-1">{{ context.tr.tp(Sentence::ProfileNewPassword, [Box::new(common::consts::MIN_PASSWORD_SIZE)]) }}</label>
<input id="input-password-1" type="password" name="password_1" autocomplete="new-password">
<span></span>
<span class="user-message">{{ message_password }}</span>
<label for="input-password-2">{{ context.tr.t(Sentence::ReEnterPassword) }}</label>
<input id="input-password-2" type="password" name="password_2" autocomplete="new-password">
<span class="user-message">{{ message_password }}</span>
<span></span>
<label for="input-servings">{{ context.tr.t(Sentence::ProfileDefaultServings) }}</label>
<input

View file

@ -10,9 +10,11 @@
<label for="input-email">{{ context.tr.t(Sentence::EmailAddress) }}</label>
<input id="input-email" type="email" name="email" value="{{ email }}"
autocapitalize="none" autocomplete="email" autofocus="autofocus">
<span></span>
<label for="input-password">{{ context.tr.t(Sentence::Password) }}</label>
<input id="input-password" type="password" name="password" autocomplete="current-password">
<span></span>
<input type="submit" value="{{ context.tr.t(Sentence::SignInMenu) }}">
</form>

View file

@ -2,7 +2,7 @@
<div id="toasts">
<div class="toast">
<img class="icon" width="24" height="24" alt="icon" src="">
<div class="content"></div>
<div class="content user-message"></div>
<span class="close button"></span>
</div>
</div>