commiting uncommited changes on live site
[weblabels.fsf.org.git] / crm.fsf.org / 20131203 / files / sites / all / modules-new / civicrm / templates / CRM / Contact / Form / Inline / ContactName.tpl
1 {*
2 +--------------------------------------------------------------------+
3 | CiviCRM version 4.6 |
4 +--------------------------------------------------------------------+
5 | Copyright CiviCRM LLC (c) 2004-2015 |
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 {* This file builds html for Contact Display Name inline edit *}
27 {$form.oplock_ts.html}
28 <div class="crm-inline-edit-form">
29 <div class="crm-inline-button">
30 {include file="CRM/common/formButtons.tpl"}
31 </div>
32 {if $contactType eq 'Individual'}
33 {if $form.prefix_id}
34 <div class="crm-inline-edit-field">
35 {$form.prefix_id.label}<br/>
36 {$form.prefix_id.html}
37 </div>
38 {/if}
39 {if $form.formal_title}
40 <div class="crm-inline-edit-field">
41 {$form.formal_title.label}<br/>
42 {$form.formal_title.html}
43 </div>
44 {/if}
45 {if $form.first_name}
46 <div class="crm-inline-edit-field">
47 {$form.first_name.label}<br />
48 {$form.first_name.html}
49 </div>
50 {/if}
51 {if $form.middle_name}
52 <div class="crm-inline-edit-field">
53 {$form.middle_name.label}<br />
54 {$form.middle_name.html}
55 </div>
56 {/if}
57 {if $form.last_name}
58 <div class="crm-inline-edit-field">
59 {$form.last_name.label}<br />
60 {$form.last_name.html}
61 </div>
62 {/if}
63 {if $form.suffix_id}
64 <div class="crm-inline-edit-field">
65 {$form.suffix_id.label}<br/>
66 {$form.suffix_id.html}
67 </div>
68 {/if}
69 {elseif $contactType eq 'Organization'}
70 <div class="crm-inline-edit-field">{$form.organization_name.label}&nbsp;
71 {$form.organization_name.html}</div>
72 {elseif $contactType eq 'Household'}
73 <div class="crm-inline-edit-field">{$form.household_name.label}&nbsp;
74 {$form.household_name.html}</div>
75 {/if}
76 </div>
77 <div class="clear"></div>