2 +--------------------------------------------------------------------+
3 | CiviCRM version 4.6 |
4 +--------------------------------------------------------------------+
5 | Copyright CiviCRM LLC (c) 2004-2014 |
6 +--------------------------------------------------------------------+
7 | This file is a part of CiviCRM. |
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. |
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. |
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 +--------------------------------------------------------------------+
26 <div class="crm-accordion-wrapper crm-demographics-accordion collapsed">
27 <div class="crm-accordion-header">
29 </div><!-- /.crm-accordion-header -->
30 <div id="demographics" class="crm-accordion-body">
31 <div class="form-item">
32 <span class="label">{$form.gender_id.label}</span>
35 {$form.gender_id.html}
38 <div class="form-item">
39 <span class="label">{$form.birth_date.label}</span>
40 <span class="value">{include file="CRM/common/jcalendar.tpl" elementName=birth_date}</span>
42 <div class="form-item">
43 {$form.is_deceased.html}
44 {$form.is_deceased.label}
46 <div id="showDeceasedDate" class="form-item">
47 <span class="label">{$form.deceased_date.label}</span>
48 <span class="value">{include file="CRM/common/jcalendar.tpl" elementName=deceased_date}</span>
50 </div><!-- /.crm-accordion-body -->
51 </div><!-- /.crm-accordion-wrapper -->
54 <script type="text/javascript">
56 function showDeceasedDate( )
58 if ( cj("#is_deceased").is(':checked') ) {
59 cj("#showDeceasedDate").show( );
61 cj("#showDeceasedDate").hide( );
62 cj("#deceased_date").val('');