Commit | Line | Data |
---|---|---|
6a488035 TO |
1 | {* |
2 | +--------------------------------------------------------------------+ | |
fee14197 | 3 | | CiviCRM version 5 | |
6a488035 | 4 | +--------------------------------------------------------------------+ |
8c9251b3 | 5 | | Copyright CiviCRM LLC (c) 2004-2018 | |
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 | *} | |
26 | <div id="crm-quick-create" class="crm-container"> | |
27 | <form action="{$postURL}" method="post"> | |
28 | ||
29 | <div class="form-item"> | |
30 | <div> | |
31 | <label for="qa_first_name">{ts}First Name:{/ts}</label> | |
32 | </div> | |
33 | <div> | |
34 | <input type="text" name="first_name" id="qa_first_name" class="form-text" maxlength="64" /> | |
35 | </div> | |
36 | </div> | |
37 | ||
38 | <div class="form-item"> | |
39 | <div> | |
40 | <label for="qa_last_name">{ts}Last Name:{/ts}</label> | |
41 | </div> | |
42 | <div> | |
43 | <input type="text" name="last_name" id="qa_last_name" class="form-text required" maxlength="64" /> | |
44 | </div> | |
45 | </div> | |
46 | ||
47 | <div class="form-item"> | |
48 | <div> | |
49 | <label for="qa_email">{ts}Email:{/ts}</label> | |
50 | </div> | |
51 | <div> | |
33667a54 | 52 | <input type="email" name="email[1][email]" id="qa_email" class="form-text" maxlength="64" /> |
6a488035 TO |
53 | </div> |
54 | ||
55 | <input type="hidden" name="email[1][location_type_id]" value="{$primaryLocationType}" /> | |
56 | <input type="hidden" name="email[1][is_primary]" value="1" /> | |
57 | <input type="hidden" name="ct" value="Individual" /> | |
58 | <input type="hidden" name="email_greeting_id" value="{$email_greeting_id}" /> | |
59 | <input type="hidden" name="postal_greeting_id" value="{$postal_greeting_id}" /> | |
60 | <input type="hidden" name="addressee_id" value="{$addressee_id}" /> | |
61 | <input type="hidden" name="qfKey" value="{crmKey name='CRM_Contact_Form_Contact' addSequence=1}" /> | |
62 | </div> | |
63 | ||
97e557d7 | 64 | <div class="form-item"><input type="submit" name="_qf_Contact_next" value="{ts}Save{/ts}" class="crm-form-submit" /></div> |
6a488035 TO |
65 | |
66 | </form> | |
67 | </div> |