LSimport : also display error on other attributes

This commit is contained in:
Benjamin Renard 2015-07-30 18:08:45 +02:00
parent 8dcccee200
commit 0625e38f80

View file

@ -49,6 +49,18 @@
{/if} {/if}
</li> </li>
{/foreach} {/foreach}
{foreach $error.errors.attrs as $a => $es}
{if !in_array($a,$error.data)}
<li>
<strong>{$a} :</strong>
<ul class='LSimport_attr_errors'>
{foreach $es as $e}
<li>{$e}</li>
{/foreach}
</ul>
</li>
{/if}
{/foreach}
</ul> </ul>
</div> </div>
{/foreach} {/foreach}