Merge remote-tracking branch 'upstream/4.4' into 4.4-master-2014-06-01-20-54-24
[civicrm-core.git] / templates / CRM / Grant / Form / Task / Update.tpl
1 {*
2 +--------------------------------------------------------------------+
3 | CiviCRM version 4.5 |
4 +--------------------------------------------------------------------+
5 | Copyright CiviCRM LLC (c) 2004-2014 |
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 *}
26 {* Update Grants *}
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). *}
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'}
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>
37 {else}
38 <td>{$form.$element.html}</td>
39 {/if}
40 </tr>
41 {/foreach}
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 -->