2016-06-03 01:02:58 +02:00
|
|
|
{% extends "zerver/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">
|
|
|
|
$(function () {
|
|
|
|
autofocus('#email');
|
|
|
|
});
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<div class="app register-page">
|
2017-02-24 16:42:13 +01:00
|
|
|
<div class="app-main register-page-container">
|
2016-06-03 01:02:58 +02:00
|
|
|
|
|
|
|
<div class="register-form">
|
|
|
|
<p class="lead">
|
2017-02-24 16:42:13 +01:00
|
|
|
<div class="register-page-header">{{ _("Let's get started") }}…</div>
|
2016-06-03 01:02:58 +02:00
|
|
|
</p>
|
|
|
|
<form class="form-inline" id="send_confirm" name="email_form"
|
2017-02-24 16:42:13 +01:00
|
|
|
action="{{ current_url() }}" method="post">
|
2016-06-03 01:02:58 +02:00
|
|
|
{{ csrf_input }}
|
|
|
|
<input type="text" class="email required" placeholder="{{ _("Enter your work email address") }}"
|
|
|
|
id="email" name="email"/>
|
|
|
|
<input type="submit" class="new-organization-button btn btn-primary btn-large register-button" value="{{ _("Create organization") }}"/>
|
|
|
|
</form>
|
|
|
|
<div id="errors"></div>
|
|
|
|
{% if form.email.errors %}
|
|
|
|
{% for error in form.email.errors %}
|
2017-02-24 16:42:13 +01:00
|
|
|
<div class="alert alert-error">{{ error }}</div>
|
2016-06-03 01:02:58 +02:00
|
|
|
{% endfor %}
|
|
|
|
{% endif %}
|
|
|
|
</div>
|
|
|
|
|
2017-02-24 16:42:13 +01:00
|
|
|
</div>
|
|
|
|
<div class="footer-padder"></div>
|
2016-06-03 01:02:58 +02:00
|
|
|
</div>
|
|
|
|
{% endblock %}
|