{% extends "zephyr/portico_signup.html" %}

{# Home page for not logged-in users. #}

{# This is where we pitch the app and solicit signups. #}

{% block portico_content %}
<script type="text/javascript">
autofocus('#email');
</script>

        <div class="pitch">
            <p class="lead">Let's get started…</p>
            <form class="form-inline" id="send_confirm" name="email_form"
                  action="{% url 'zephyr.views.accounts_home' %}" method="post">
                {% csrf_token %}
                <input type="text" class="email required" placeholder="Enter your work email address"
                       id="email" name="email"/>&nbsp;
                <input type="submit" class="btn btn-primary btn-large" value="Sign up"/>
            </form>
            <div id="errors"></div>
            {% if form.email.errors %}
                {% for error in form.email.errors %}
                    <div class="alert alert-error">{{ error }}</div>
                {% endfor %}
            {% endif %}


            <div class="alert alert-pitch" id="company-email">Please use your
            company email address to sign up. Otherwise, we won’t be able to
            connect you with your coworkers.</div>
        </div>

        <script type="text/javascript">
        if (window.location.hash.substring(0, 1) === "#") {
            document.email_form.action += window.location.hash;
        }
        </script>
{% endblock %}

{% extends "zephyr/portico_signup.html" %}

{# Home page for not logged-in users. #}

{# This is where we pitch the app and solicit signups. #}

{% block portico_content %}
<script type="text/javascript">
autofocus('#email');
</script>

        <div class="pitch">
            <p class="lead">Let's get started…</p>
            <form class="form-inline" id="send_confirm" name="email_form"
                  action="{% url 'zephyr.views.accounts_home' %}" method="post">
                {% csrf_token %}
                <input type="text" class="email required" placeholder="Enter your work email address"
                       id="email" name="email"/>&nbsp;
                <input type="submit" class="btn btn-primary btn-large" value="Sign up"/>
            </form>
            <div id="errors"></div>
            {% if form.email.errors %}
                {% for error in form.email.errors %}
                    <div class="alert alert-error">{{ error }}</div>
                {% endfor %}
            {% endif %}


            <div class="alert alert-pitch" id="company-email">Please use your
            company email address to sign up. Otherwise, we won’t be able to
            connect you with your coworkers.</div>
            <div class="pitch">
                <a href="/accounts/login/openid/" class="zocial google">Sign up with Google</a>
            </div>
        </div>

        <script type="text/javascript">
        if (window.location.hash.substring(0, 1) === "#") {
            document.email_form.action += window.location.hash;
        }
        </script>
{% endblock %}

Add link to sign up with OpenID to the registration page.
Add link to sign up with OpenID to the registration page.

Not that anybody visits that page.

(imported from commit 3102ffb4f6c952d94c4f4a7c90f381c6e0da51e5)
