1 {if isset($mode) && $mode eq 'ajax'}
2 {assign var="extend" value='ajax.tpl'}
4 {assign var="extend" value='page.tpl'}
9 <div id="mass_contributions"{if $mode neq 'ajax'} class="center"{else} title="{$page_title}"{/if}>
10 <form action="{$form_url}" method="post">
11 {if $mode neq 'ajax'}<h2>{$page_title}</h2>{/if}
12 <label for="type">{_T string="Contribution type"}</label>
13 <select name="type" id="type">
14 <option value="{constant('Galette\Entity\Contribution::TYPE_FEE')}">{_T string="Membership"}</option>
15 <option value="{constant('Galette\Entity\Contribution::TYPE_DONATION')}">{_T string="Donation"}</option>
17 <div class="button-container">
18 <input type="submit" id="masschange" class="button" value="{_T string="OK"}"/>
19 <a href="{$cancel_uri}" class="button" id="btncancel">{_T string="Cancel"}</a>
20 {if $mode eq 'ajax'}<input type="hidden" name="ajax" value="true"/>{/if}
21 {foreach $data as $key=>$value}
23 {foreach $value as $val}
24 <input type="hidden" name="{$key}[]" value="{$val}"/>
27 <input type="hidden" name="{$key}" value="{$value}"/>