Remove trailing slash for void elements... sadly

This commit is contained in:
Greg Burri 2025-02-14 18:58:32 +01:00
parent a1fd63ad08
commit cb2483eab1
13 changed files with 57 additions and 52 deletions

View file

@ -17,12 +17,12 @@
value="{{ username }}"
autocapitalize="none"
autocomplete="title"
autofocus="autofocus" />
autofocus="autofocus">
<label for="input-email">{{ tr.t(Sentence::ProfileEmail) }}</label>
<input id="input-email" type="email"
name="email" value="{{ email }}"
autocapitalize="none" autocomplete="email" autofocus="autofocus" />
autocapitalize="none" autocomplete="email" autofocus="autofocus">
{{ message_email }}
@ -32,17 +32,17 @@
type="number"
step="1" min="1" max="100"
name="default_servings"
value="{{ default_servings }}"/>
value="{{ default_servings }}">
<label for="input-password-1">{{ 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" />
<input id="input-password-1" type="password" name="password_1" autocomplete="new-password">
<label for="input-password-2">{{ tr.t(Sentence::ReEnterPassword) }}</label>
<input id="input-password-2" type="password" name="password_2" autocomplete="new-password" />
<input id="input-password-2" type="password" name="password_2" autocomplete="new-password">
{{ message_password }}
<input type="submit" name="commit" value="{{ tr.t(Sentence::Save) }}" />
<input type="submit" name="commit" value="{{ tr.t(Sentence::Save) }}">
</form>
{{ message }}
</div>