{*
 * Copyright (c) 2004-2016 OIC Group, Inc.
 * Written and Designed by James Hunt
 *
 * This file is part of Exponent
 *
 * Exponent is free software; you can redistribute
 * it and/or modify it under the terms of the GNU
 * General Public License as published by the Free
 * Software Foundation; either version 2 of the
 * License, or (at your option) any later version.
 *
 * GPL: http://www.gnu.org/licenses/gpl.txt
 *
 *}

{if $is_email == 1}
    <style type="text/css">
        {$css}
    </style>
{else}
    {css unique="default-report" corecss="tables,button"}

    {/css}
{/if}

<div class="module forms show report">
    <table border="0" cellspacing="0" cellpadding="0" class="exp-skin-table">
        <thead>
        <tr>
            <th colspan="2">
                <h2>{$title}</h2>
            </th>
        </tr>
        </thead>
        <tbody>
        {foreach from=$fields key=fieldname item=value}
            <tr class="{cycle values="even,odd"}">
                <td>{$captions[$fieldname]}</td>
                <td>{$value}</td>
            </tr>
        {/foreach}
        </tbody>
    </table>
    {if !empty($referrer)}
        <p>{'Referrer'|gettext}: {$referrer}</p>
    {/if}
    {if !$is_email}
        {*<a class="{button_style}" href="{$backlink}">{'Back'|gettext}</a>*}
        {icon button=true link=$backlink text='Back'|gettext}
    {/if}
</div>