Skip to content

Commit

Permalink
[BUGFIX] Correct checkbox markup
Browse files Browse the repository at this point in the history
  • Loading branch information
benjaminkott committed Apr 25, 2023
1 parent 415447e commit 083f392
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions Resources/Private/Templates/Felogin/Login/Login.html
Original file line number Diff line number Diff line change
Expand Up @@ -46,18 +46,18 @@ <h3>

<f:if condition="{permaloginStatus} > -1">
<div class="form-group">
<div class="checkbox">
<label for="permalogin">
<f:if condition="{permaloginStatus} == 1">
<f:then>
<f:form.hidden name="permalogin" value="0" additionalAttributes="{disabled: 'disabled'}" />
<f:form.checkbox name="permalogin" id="permalogin" value="1" checked="checked" />
</f:then>
<f:else>
<f:form.hidden name="permalogin" value="0" />
<f:form.checkbox name="permalogin" id="permalogin" value="1" />
</f:else>
</f:if>
<div class="form-check">
<f:if condition="{permaloginStatus} == 1">
<f:then>
<f:form.hidden name="permalogin" value="0" additionalAttributes="{disabled: 'disabled'}" />
<f:form.checkbox class="form-check-input" name="permalogin" id="permalogin" value="1" checked="checked" />
</f:then>
<f:else>
<f:form.hidden name="permalogin" value="0" />
<f:form.checkbox class="form-check-input" name="permalogin" id="permalogin" value="1" />
</f:else>
</f:if>
<label class="form-check-label" for="permalogin">
<f:translate id="permalogin" />
</label>
</div>
Expand Down

0 comments on commit 083f392

Please sign in to comment.