2 +--------------------------------------------------------------------+
3 | Copyright CiviCRM LLC. All rights reserved. |
5 | This work is published under the GNU AGPLv3 license with some |
6 | permitted exceptions and without any warranty. For full license |
7 | and copyright information, see https://civicrm.org/licensing |
8 +--------------------------------------------------------------------+
10 <div id="crm-quick-create" class="crm-container">
11 <form action="{$postURL}" method="post">
13 <div class="form-item">
15 <label for="qa_first_name">{ts}First Name:{/ts}</label>
18 <input type="text" name="first_name" id="qa_first_name" class="form-text" maxlength="64" />
22 <div class="form-item">
24 <label for="qa_last_name">{ts}Last Name:{/ts}</label>
27 <input type="text" name="last_name" id="qa_last_name" class="form-text required" maxlength="64" />
31 <div class="form-item">
33 <label for="qa_email">{ts}Email:{/ts}</label>
36 <input type="email" name="email[1][email]" id="qa_email" class="form-text" maxlength="64" />
39 <input type="hidden" name="email[1][location_type_id]" value="{$primaryLocationType}" />
40 <input type="hidden" name="email[1][is_primary]" value="1" />
41 <input type="hidden" name="ct" value="Individual" />
42 <input type="hidden" name="email_greeting_id" value="{$email_greeting_id}" />
43 <input type="hidden" name="postal_greeting_id" value="{$postal_greeting_id}" />
44 <input type="hidden" name="addressee_id" value="{$addressee_id}" />
45 <input type="hidden" name="qfKey" value="{crmKey name='CRM_Contact_Form_Contact' addSequence=1}" />
48 <div class="form-item"><button type="submit" name="_qf_Contact_next" class="crm-button crm-form-submit">{ts}Save{/ts}</button></div>