Skip to content

Commit

Permalink
fix(form): add label to validator inputs
Browse files Browse the repository at this point in the history
Signed-off-by: Thierry Bugier <[email protected]>
  • Loading branch information
btry committed Jan 19, 2021
1 parent 06a10e0 commit 3426912
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion inc/form.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -462,7 +462,6 @@ public function showForm($ID, $options = []) {
]);
echo '</td>';
echo '<td colspan="2">';

// Select all users with ticket validation right and the groups
$userTable = User::getTable();
$userFk = User::getForeignKeyField();
Expand Down Expand Up @@ -519,6 +518,7 @@ public function showForm($ID, $options = []) {
$validatorUsers[$user['id']] = $user['name'];
}
echo '<div id="validators_users">';
echo User::getTypeName() . '&nbsp';
Dropdown::showFromArray(
'_validator_users',
$validatorUsers, [
Expand Down Expand Up @@ -588,6 +588,7 @@ public function showForm($ID, $options = []) {
$validatorGroups[$group['id']] = $group['name'];
}
echo '<div id="validators_groups" style="width: 100%">';
echo Group::getTypeName() . '&nbsp';
Dropdown::showFromArray(
'_validator_groups',
$validatorGroups,
Expand Down

0 comments on commit 3426912

Please sign in to comment.