diff --git a/include/sieve/templates/element_require.tpl b/include/sieve/templates/element_require.tpl
index 0cde8e3fb70b33cc057d7a68e704b18ae0c2fc5c..3a3f261f3244e0968f4c25c353586e3a5f95c25a 100644 (file)
-<table cellspacing=0 style='width:100%;background-color:#abffab;'>
+<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>
+ <td style=''>
<b>{t}Require{/t}</b>
</td>
</tr>
<tr>
- <td style='padding-left:20px'>
- <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>
+