first commit
This commit is contained in:
25
modules/ruch/views/templates/admin/errors.tpl
Normal file
25
modules/ruch/views/templates/admin/errors.tpl
Normal file
@@ -0,0 +1,25 @@
|
||||
<!--
|
||||
/**
|
||||
* @author Marcin Bogdański
|
||||
* @copyright OpenNet 2021
|
||||
* @license license.txt
|
||||
*/
|
||||
-->
|
||||
|
||||
{if count($errors)}
|
||||
<div class="bootstrap">
|
||||
<div class="error alert alert-danger">
|
||||
{if count($errors) == 1}
|
||||
{$errors[0]|escape:'htmlall':'UTF-8'}
|
||||
{else}
|
||||
{$errors|count} {l s='errors' mod='ruch'}
|
||||
<br/>
|
||||
<ol>
|
||||
{foreach $errors as $error}
|
||||
<li>{$error|escape:'htmlall':'UTF-8'}</li>
|
||||
{/foreach}
|
||||
</ol>
|
||||
{/if}
|
||||
</div>
|
||||
</div>
|
||||
{/if}
|
||||
Reference in New Issue
Block a user