Skip to content

Commit

Permalink
[Backport 4.2.x] Fix alignment of user enabled checkbox (#7773)
Browse files Browse the repository at this point in the history
* Fix HTML syntax in users.html. Fix extra quote and remove form-control class from checkbox.
* Fix alignment of checkbox

Backport #7764.

Co-authored-by: Juan Luis Rodríguez <[email protected]>
  • Loading branch information
geonetworkbuild and juanluisrp authored Feb 19, 2024
1 parent afb6da2 commit 2a4eac1
Showing 1 changed file with 14 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -134,9 +134,20 @@
/>

<div class="form-group" data-ng-hide="user.id == userSelected.id">
<label class="control-label col-sm-3" data-translate="">enable</label>
<div class="col-sm-9">
<input type="checkbox" class=form-control" data-ng-model="userIsEnabled"/>
<label
class="control-label col-sm-3"
data-translate=""
for="userIsEnabledCheck"
>enable</label
>
<div class="col-sm-9 checkbox">
<label>
<input
type="checkbox"
data-ng-model="userIsEnabled"
id="userIsEnabledCheck"
/>
</label>
</div>
</div>

Expand Down

0 comments on commit 2a4eac1

Please sign in to comment.