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-04-20 21:02:56 +02:00
|
|
|
<div class="app register-page flex">
|
2017-05-03 19:48:52 +02:00
|
|
|
<div class="app-main register-page-container new-style flex full-page">
|
2016-06-03 01:02:58 +02:00
|
|
|
|
|
|
|
<div class="register-form">
|
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"
|
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">
|
2017-07-07 00:07:31 +02:00
|
|
|
<input type="text" class="email required" placeholder="{{ _("Enter your email address") }}"
|
2017-04-20 21:02:56 +02:00
|
|
|
id="email" name="email" required />
|
|
|
|
<label for="id_username">{{ _('Email') }}</label>
|
|
|
|
<div class="required"></div>
|
2017-05-25 22:43:42 +02:00
|
|
|
<img class="valid" src="/static/images/checkbox-valid.svg" alt="{{ _('Valid') }}" />
|
2017-04-20 21:02:56 +02:00
|
|
|
</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>
|
2016-06-03 01:02:58 +02:00
|
|
|
</div>
|
|
|
|
{% endblock %}
|