recusfiscaux/templates/choix_annee.tpl

20 lines
738 B
Smarty
Raw Normal View History

{include file="admin/_head.tpl" title="Changer d'année fiscale"}
<form method="post" action="{$self_url}" data-focus="1">
<fieldset>
<legend>Changer l'année fiscale des reçus</legend>
<select id="annee_recu" name="annee_recu">
{foreach from=$anneesFiscales item="annee"}
<option value="{$annee}" {if $annee == $annee_recu} selected{/if}>{$annee}
</option>
{/foreach}
</select>
</fieldset>
<p class="submit">
{csrf_field key="acc_select_year"}
<input type="hidden" name="from" value="{$from}" />
{button type="submit" name="change" label="Changer" shape="right" class="main"}
</p>
</form>
{include file="admin/_foot.tpl"}