Commit 1b9c4eb3 authored by Francois Marier's avatar Francois Marier Committed by Gerrit Code Review
Browse files

Merge "Fix error display issue when adding new users"

parents 13e5e494 142597d6
...@@ -49,10 +49,13 @@ echo $form_tag; ...@@ -49,10 +49,13 @@ echo $form_tag;
<?php foreach(array('username', 'password', 'staff', 'admin', 'quota', 'authinstance', 'institutionadmin') as $field) { ?> <?php foreach(array('username', 'password', 'staff', 'admin', 'quota', 'authinstance', 'institutionadmin') as $field) { ?>
<tr> <tr>
<th><?php echo $elements[$field]['labelhtml']; ?></th> <th><?php echo $elements[$field]['labelhtml']; ?></th>
<td><?php echo $elements[$field]['html']; <td><?php echo $elements[$field]['html']; ?></td>
if (isset($elements[$field]['error'])) { echo '<div class="errmsg">' . $elements[$field]['error'] . '</div>'; }
?></td>
</tr> </tr>
<?php if (isset($elements[$field]['error'])) { ?>
<tr>
<td class="errmsg" colspan="2"><?php echo $elements[$field]['error']; ?></td>
</tr>
<?php } ?>
<?php } ?> <?php } ?>
</table> </table>
</td> </td>
......
...@@ -479,7 +479,6 @@ table.tablerenderer th.desc { ...@@ -479,7 +479,6 @@ table.tablerenderer th.desc {
white-space: nowrap; white-space: nowrap;
} }
#adduser td.step2 td { #adduser td.step2 td {
white-space: nowrap;
text-align: left; text-align: left;
} }
#adduser td.step3 { #adduser td.step3 {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment