diff --git a/include/sieve/templates/element_require.tpl b/include/sieve/templates/element_require.tpl
index 761e636b046922dbc2d0a222f9461e9f78197ab5..3a3f261f3244e0968f4c25c353586e3a5f95c25a 100644 (file)
-<table cellspacing=0 style='width:100%;background-color:#e4ffc9;'>
+<table class='sieve_require_container'>
+ {foreach from=$LastError item=val key=key}
+ <tr>
+ <td colspan=4>
+ <div class='sieve_error_msgs'>{$LastError[$key]}</div>
+ </td>
+ </tr>
+
+ {/foreach}
<tr>
<td style=''>
<b>{t}Require{/t}</b>
</td>
</tr>
<tr>
- <td style='padding-left:20px; height:50px;'>
- <input type='text' name='require_{$ID}' style='width:100%' value='{$Require}'>
+ <td style='padding-left:20px;;'>
+ <input type='text' name='require_{$ID}' class='sieve_require_input' value='{$Require}'>
</td>
</tr>
</table>
+