{if $user->can('manage_clients')} {if $group_dropdown} {$forms.clientsForm.open} {* clientsForm consists only of one dropdown group control *}
{$i18n.label.group}: {$forms.clientsForm.group.control}
{$forms.clientsForm.close} {/if} {if $inactive_clients} {/if} {foreach $active_clients as $client} {/foreach}
{$i18n.form.clients.active_clients}
{$i18n.label.person_name} {$i18n.label.address} {$i18n.label.edit} {$i18n.label.delete}
{$client.name|escape} {$client.address|escape} {$i18n.label.edit} {$i18n.label.delete}

{if $inactive_clients} {foreach $inactive_clients as $client} {/foreach}
{$i18n.form.clients.inactive_clients}
{$i18n.label.person_name} {$i18n.label.address} {$i18n.label.edit} {$i18n.label.delete}
{$client.name|escape} {$client.address|escape} {$i18n.label.edit} {$i18n.label.delete}

{/if} {else} {if $active_clients} {foreach $active_clients as $client} {/foreach} {/if}
{$i18n.label.thing_name} {$i18n.label.address}
{$client.name|escape} {$client.address|escape}
{/if}