{#if modal_open}
{ modal_open = false; }}>
{$_('create-a-new-contact')}
Please provide the required information to add a new contact.
{$_('first-name')}
{#if !isFirstnameValid}
{$_('first-name-is-required')}
{/if}
{$_('middle-name')}
Last Name
{#if !isLastnameValid}
{$_('last-name-is-required')}
{/if}
{$_('team')}
{#each teams as team}
{team.parentGroup.name} > {team.name}
{/each} {#each orgs as org}
{org.name}
{/each}
Phone
{#if !isPhoneValidOrEmpty}
{@html $_('the-provided-phone-number-is-invalid-less-than-br-greater-than-please-enter-a-valid-international-number')}
{/if}
{$_('e-mail-adress')}
{#if !isEmailValidOrEmpty}
{$_('valid-email-is-required')}
{/if}
Address
{#if address_checked === true}
Address
{#if !isAddress1Valid}
Address is required
{/if}
Apartment, suite, etc.
ZIP/ postal code
{#if !iszipcodevalid}
Valid zipcode/ postal code is required
{/if}
City
{#if !iscityvalid}
Valid city is required
{/if}
{/if}
{$_('create')}
{ modal_open = false; }} type="button" class="mt-3 w-full inline-flex justify-center rounded-md border border-gray-300 shadow-sm px-4 py-2 bg-white text-base font-medium text-gray-700 hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500 sm:mt-0 sm:ml-3 sm:w-auto sm:text-sm"> {$_('cancel')}
{/if}