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>
|
|
|
|
|
2017-04-20 21:02:56 +02:00
|
|
|
<div class="app register-page flex">
|
|
|
|
<div class="app-main register-page-container new-style">
|
|
|
|
<div class="bg-image"></div>
|
2016-06-03 01:02:58 +02:00
|
|
|
|
|
|
|
<div class="register-form">
|
2017-04-20 21:02:56 +02:00
|
|
|
<div class="lead">
|
|
|
|
<h1 class="get-started">{{ _("Create your Zulip Organization") }}</h1>
|
|
|
|
</div>
|
2016-06-03 01:02:58 +02:00
|
|
|
<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 }}
|
2017-04-20 21:02:56 +02:00
|
|
|
<div class="input-box horizontal">
|
|
|
|
<div class="inline-block relative">
|
|
|
|
<input type="text" class="email required" placeholder="{{ _("Enter your work email address") }}"
|
|
|
|
id="email" name="email" required />
|
|
|
|
<label for="id_username">{{ _('Email') }}</label>
|
|
|
|
<div class="required"></div>
|
|
|
|
<img class="valid" src="/static/images/checkbox-valid.svg" />
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<button type="submit" class="new-organization-button register-button">{{ _("Create organization") }}</button>
|
|
|
|
</div>
|
2016-06-03 01:02:58 +02:00
|
|
|
</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 %}
|