<div class="panelRightTop"></div>
<div class="panelRightBody">
    <div class="paddedContent">
{dropDownContainer title="Ustawienia formularza"}
{if isset($info)}
    <div class="{if $type == 'error'}error{else}info{/if}">{$info}</div>
{/if}
<form method="post" action="">
<table align="center" class="adminTable" cellpadding="2" cellspacing="2" style="width: 760px;">
<tr>
    <th colspan="3">Dni udzialu</th>
</tr>
<tr>
    <td style="width: 240px;">Jeden dzien z noclegiem</td>
    <td><textarea name="registration_form_days_lodging" class="input" style="width: 420px; height: 70px;">{$settings.days_lodging_text}</textarea></td>
    <td>{if isset($errors.registration_form_days_lodging)}<span class="validate">{$errors.registration_form_days_lodging}</span>{/if}</td>
</tr>
<tr>
    <td>Jeden dzien bez noclegu</td>
    <td><textarea name="registration_form_days_no_lodging" class="input" style="width: 420px; height: 90px;">{$settings.days_no_lodging_text}</textarea></td>
    <td>{if isset($errors.registration_form_days_no_lodging)}<span class="validate">{$errors.registration_form_days_no_lodging}</span>{/if}</td>
</tr>
<tr>
    <th colspan="3">Ceny z parametrow formularza</th>
</tr>
<tr>
    <td>Nazwa</td>
    <td>Cena normalna netto</td>
    <td>Cena obnizona netto</td>
</tr>
{foreach from=$settings.prices key=priceKey item=price}
{if $priceKey != 'one_day'}
<tr>
    <td>{$price.name} (ID {$price.id})</td>
    <td><input type="text" name="price[{$price.id}]" value="{$price.price}" class="input" /></td>
    <td><input type="text" name="price_prom[{$price.id}]" value="{$price.price_prom}" class="input" /></td>
</tr>
{/if}
{/foreach}
<tr>
    <th colspan="3">Ceny jednego dnia</th>
</tr>
<tr>
    <td>Jeden dzien - cena obnizona netto</td>
    <td><input type="text" name="registration_form_one_day_price_prom" value="{$settings.one_day_price_prom}" class="input" /></td>
    <td>{if isset($errors.registration_form_one_day_price_prom)}<span class="validate">{$errors.registration_form_one_day_price_prom}</span>{/if}</td>
</tr>
<tr>
    <td>Jeden dzien - cena normalna netto</td>
    <td><input type="text" name="registration_form_one_day_price_normal" value="{$settings.one_day_price_normal}" class="input" /></td>
    <td>{if isset($errors.registration_form_one_day_price_normal)}<span class="validate">{$errors.registration_form_one_day_price_normal}</span>{/if}</td>
</tr>
<tr>
    <th colspan="3">VAT</th>
</tr>
<tr>
    <td>Mnoznik VAT</td>
    <td><input type="text" name="registration_form_vat_multiplier" value="{$settings.vat_multiplier}" class="input" /></td>
    <td>{if isset($errors.registration_form_vat_multiplier)}<span class="validate">{$errors.registration_form_vat_multiplier}</span>{/if}</td>
</tr>
<tr>
    <td></td>
    <td colspan="2">
        <input type="submit" value="Zapisz" name="doFormSettingsEdit" class="button buttonZapisz" />
    </td>
</tr>
</table>
</form>
{/dropDownContainer}
    </div>
</div>
<div class="panelRightBottom"></div>
