Skip to content

Commit

Permalink
[TASK] Add missing form-label classes
Browse files Browse the repository at this point in the history
  • Loading branch information
benjaminkott committed Apr 25, 2023
1 parent 506d2dc commit 415447e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions Resources/Private/Templates/Felogin/Login/Login.html
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,11 @@ <h3>
<fieldset>
<legend><f:translate key="login" /></legend>
<div class="form-group">
<label for="user"><f:translate key="username" /></label>
<label class="form-label" for="user"><f:translate key="username" /></label>
<f:form.textfield name="user" class="form-control" required="true" additionalAttributes="{autocomplete: 'username'}" />
</div>
<div class="form-group">
<label for="pass"><f:translate key="password" /></label>
<label class="form-label" for="pass"><f:translate key="password" /></label>
<f:form.password name="pass" class="form-control" data="{rsa-encryption: ''}" additionalAttributes="{required: 'required', autocomplete: 'current-password'}" />
</div>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ <h3>
<fieldset>
<legend><f:render partial="RenderLabelOrMessage" arguments="{key: 'reset_password'}" /></legend>
<div class="form-group">
<label for="userIdentifier"><f:translate key="enter_your_data" /></label>
<label class="form-label" for="userIdentifier"><f:translate key="enter_your_data" /></label>
<f:form.textfield name="userIdentifier" class="form-control" />
</div>
<div class="form-group">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ <h3>
<f:form action="changePassword" method="post">
<legend><f:translate key="change_password" /></legend>
<div class="form-group">
<label for="newPass"><f:translate key="newpassword_label1" /></label>
<label class="form-label" for="newPass"><f:translate key="newpassword_label1" /></label>
<f:form.password name="newPass" class="form-control" additionalAttributes="{autocomplete: 'new-password'}" />
</div>
<div class="form-group">
<label for="newPassRepeat"><f:translate key="newpassword_label2" /></label>
<label class="form-label" for="newPassRepeat"><f:translate key="newpassword_label2" /></label>
<f:form.password name="newPassRepeat" class="form-control" additionalAttributes="{autocomplete: 'new-password'}" />
</div>
<div class="form-group">
Expand Down

0 comments on commit 415447e

Please sign in to comment.