Correction bug si aucune catégorie
This commit is contained in:
parent
57724591c3
commit
2bf414fcf3
@ -67,6 +67,7 @@
|
||||
{{:assign var="categories.%s"|args:$category.key value=$category.name}}
|
||||
{{/load}}
|
||||
|
||||
{{if $categories != null}}
|
||||
{{* formulaire d'ajout de matériel *}}
|
||||
<form method="post" action="">
|
||||
|
||||
@ -93,4 +94,7 @@
|
||||
</p>
|
||||
|
||||
</form>
|
||||
{{else}}
|
||||
<p class="block error">Il n'y a aucune catégorie</p>
|
||||
{{/if}}
|
||||
{{:admin_footer}}
|
||||
|
Loading…
Reference in New Issue
Block a user