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 () {
|
2017-06-22 22:08:43 +02:00
|
|
|
common.autofocus('#email');
|
2016-06-03 01:02:58 +02:00
|
|
|
});
|
|
|
|
</script>
|
|
|
|
|
2017-08-24 18:56:01 +02:00
|
|
|
<div class="app register-page">
|
|
|
|
<div class="app-main register-page-container new-style flex full-page center">
|
2016-06-03 01:02:58 +02:00
|
|
|
|
2017-08-24 18:56:01 +02:00
|
|
|
<div class="register-form left">
|
2017-04-20 21:02:56 +02:00
|
|
|
<div class="lead">
|
2017-04-27 20:12:09 +02:00
|
|
|
<h1 class="get-started">{{ _("Create a new Zulip organization") }}</h1>
|
2017-04-20 21:02:56 +02:00
|
|
|
</div>
|
2016-06-03 01:02:58 +02:00
|
|
|
<form class="form-inline" id="send_confirm" name="email_form"
|
2018-04-05 08:38:46 +02: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">
|
2017-07-07 00:07:31 +02:00
|
|
|
<input type="text" class="email required" placeholder="{{ _("Enter your email address") }}"
|
2018-04-03 10:07:23 +02:00
|
|
|
id="email" name="email" required />
|
2017-04-20 21:02:56 +02:00
|
|
|
<label for="id_username">{{ _('Email') }}</label>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<button type="submit" class="new-organization-button register-button">{{ _("Create organization") }}</button>
|
|
|
|
</div>
|
2016-06-03 01:02:58 +02:00
|
|
|
</form>
|
2017-08-15 21:59:44 +02:00
|
|
|
<div class="alert alert-error"></div>
|
2016-06-03 01:02:58 +02:00
|
|
|
{% 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>
|
2016-06-03 01:02:58 +02:00
|
|
|
</div>
|
|
|
|
{% endblock %}
|