{% extends "base.html" %} {% import "macros.html" as m %} {% block title %}New contact{% endblock %} {% block content %} {% if company %}

New contact for {{ company.name }}

{% else %}

New contact

The company is matched by name, else by the email's domain, else created.

{% endif %} {% if capture %}
{% if capture.read_nothing %} Nothing could be read from {{ capture.url }}: the profile had probably not finished loading. Click the bookmarklet again once it has loaded, or fill in the rest yourself. {% elif capture.fetch_error %} Could not read {{ capture.url }} ({{ capture.fetch_error }}), so this is only what its address says: type the company yourself. On a profile you are logged in to, the bookmarklet reads the page you are looking at instead. {% else %} Read from {{ capture.url }}: a profile, so this makes a contact and the company it names. {% if capture.company %}{{ capture.company.name }} is already in the CRM and the contact will go there. {% elif capture.person and capture.person.employer %}No company called {{ capture.person.employer }} yet; saving creates it{% if capture.person.company_linkedin %}, with its LinkedIn page{% endif %}. {% else %}The page did not name an employer, so type the company yourself.{% endif %} {% endif %} {% if capture.person and capture.person.location %}Location on the page: {{ capture.person.location }}.{% endif %} Check the fields before saving.
{% endif %} {{ m.errors_box(errors) }}
{% if duplicates %}
Possible duplicate. Nothing was saved yet; this looks like:
{% endif %} {% if company %} {{ m.contact_fields(values, errors) }} {% else %}
{% if values.company_linkedin %}
{% endif %} {% endif %}
{% endblock %}