Commit | Line | Data |
---|---|---|
6a488035 TO |
1 | {* |
2 | +--------------------------------------------------------------------+ | |
2c4c49ca | 3 | | CiviCRM version 4.7 | |
6a488035 | 4 | +--------------------------------------------------------------------+ |
e7112fa7 | 5 | | Copyright CiviCRM LLC (c) 2004-2015 | |
6a488035 TO |
6 | +--------------------------------------------------------------------+ |
7 | | This file is a part of CiviCRM. | | |
8 | | | | |
9 | | CiviCRM is free software; you can copy, modify, and distribute it | | |
10 | | under the terms of the GNU Affero General Public License | | |
11 | | Version 3, 19 November 2007 and the CiviCRM Licensing Exception. | | |
12 | | | | |
13 | | CiviCRM is distributed in the hope that it will be useful, but | | |
14 | | WITHOUT ANY WARRANTY; without even the implied warranty of | | |
15 | | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | | |
16 | | See the GNU Affero General Public License for more details. | | |
17 | | | | |
18 | | You should have received a copy of the GNU Affero General Public | | |
19 | | License and the CiviCRM Licensing Exception along | | |
20 | | with this program; if not, contact CiviCRM LLC | | |
21 | | at info[AT]civicrm[DOT]org. If you have questions about the | | |
22 | | GNU Affero General Public License or the licensing of CiviCRM, | | |
23 | | see the CiviCRM license FAQ at http://civicrm.org/licensing | | |
24 | +--------------------------------------------------------------------+ | |
25 | *} | |
31037a42 | 26 | {* Update Grants *} |
6a488035 TO |
27 | <div class="crm-block crm-form-block crm-grants-update-form-block"> |
28 | <p>{ts}Enter values for the fields you wish to update. Leave fields blank to preserve existing values.{/ts}</p> | |
29 | <table class="form-layout-compressed"> | |
30 | {* Loop through all defined search criteria fields (defined in the buildForm() function). *} | |
3ec41c6b PN |
31 | {foreach from=$elements item=element} |
32 | <tr class="crm-contact-custom-search-form-row-{$element}"> | |
33 | <td class="label">{$form.$element.label}</td> | |
34 | {if $element eq 'decision_date'} | |
6a488035 TO |
35 | <td>{include file="CRM/common/jcalendar.tpl" elementName=decision_date}<br /> |
36 | <span class="description">{ts}Date on which the grant decision was finalized.{/ts}</span></td> | |
3ec41c6b PN |
37 | {else} |
38 | <td>{$form.$element.html}</td> | |
39 | {/if} | |
6a488035 | 40 | </tr> |
3ec41c6b | 41 | {/foreach} |
6a488035 TO |
42 | </table> |
43 | <p>{ts 1=$totalSelectedGrants}Number of selected grants: %1{/ts}</p> | |
44 | <div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl" location="bottom"}</div> | |
45 | </div><!-- /.crm-form-block --> |