{* TODO Add a form maybe *} {$admin = $admin|default:false} {if $admin}
{/if}

{$poll->title}{if $admin} {/if}

{if $admin} {/if}
{_('Export to CSV')} {if $admin} {/if}

{_('Initiator of the poll')}

{$poll->admin_name}{if $admin} {/if}

{if $admin}
{/if} {if $admin}

{$poll->admin_mail}

{/if}
{if !empty($poll->comment)}

{_("Description")}{if $admin}{/if}

{$poll->comment}

{/if}
{if $admin}

{_('Expiration\'s date')}

{$poll->end_date|date_format:$date_format['txt_date']}{if $admin} {/if}

{if $admin} {/if}
{/if}
{if $admin}
{if $poll->active} {if $poll->editable} {$rule_id = 2} {$rule_icon = ''} {$rule_txt = _('Votes are editable')} {else} {$rule_id = 1} {$rule_icon = ''} {$rule_txt = _('Votes and comments are open')} {/if} {else} {$rule_id = 0} {$rule_icon = ''} {$rule_txt = _('Votes and comments are locked')} {/if}

{$rule_icon} {$rule_txt}

{/if}
{if $admin}
{/if}