{$menu} {if count($genres) GT 0}
{foreach name='myLoop' from=$genres key='formEl' item='genre'} {if $smarty.foreach.myLoop.index % $rowCount == 0 && $smarty.foreach.myLoop.index != 0} {/if} {/foreach}
`$genre.id`]"}">
{$genre.name}
{/if}