mirror of
https://github.com/zulip/zulip.git
synced 2025-11-02 13:03:29 +00:00
This helps preserve the original form in production. The new "Import from" option button allows user to automate the process, so this is not required in that case.
63 lines
2.6 KiB
HTML
63 lines
2.6 KiB
HTML
{% extends "zerver/portico_signup.html" %}
|
|
{# Home page for not logged-in users. #}
|
|
|
|
{% block title %}
|
|
<title>{{ _("Create a new organization") }} | Zulip</title>
|
|
{% endblock %}
|
|
|
|
{# This is where we pitch the app and solicit signups. #}
|
|
|
|
{% block portico_content %}
|
|
<div class="app register-page">
|
|
<div class="app-main register-page-container new-style flex full-page center">
|
|
|
|
<div class="register-form left" id="new-realm-creation">
|
|
<div class="lead">
|
|
<h1 class="get-started">{{ _("Create a new Zulip organization") }}</h1>
|
|
</div>
|
|
<div class="white-box">
|
|
<form class="form-inline" id="create_realm" name="email_form"
|
|
action="{{ current_url() }}" method="post">
|
|
{{ csrf_input }}
|
|
|
|
{% include 'zerver/realm_creation_form.html' %}
|
|
|
|
<div class="input-box horizontal">
|
|
<div class="inline-block relative">
|
|
<input type="text" class="email required" placeholder="{{ _("Enter your email address") }}"
|
|
id="email" name="email" required />
|
|
<label for="email">{{ _('Your email') }}</label>
|
|
</div>
|
|
{% if form.email.errors %}
|
|
{% for error in form.email.errors %}
|
|
<div class="alert alert-error">{{ error }}</div>
|
|
{% endfor %}
|
|
{% endif %}
|
|
</div>
|
|
<div class="input-box">
|
|
<button type="submit" class="new-organization-button register-button">{{ _("Create organization") }}</button>
|
|
{% if has_captcha %}
|
|
{% if form.captcha.errors %}
|
|
{% for error in form.captcha.errors %}
|
|
<p class="help-inline text-error">{{ error }}</p>
|
|
{% endfor %}
|
|
{% endif %}
|
|
{{ form.captcha }}
|
|
{% endif %}
|
|
</div>
|
|
</form>
|
|
</div>
|
|
{% if not is_realm_import_enabled %}
|
|
<div class="bottom-text">
|
|
{% trans %}
|
|
Or import
|
|
from <a href="/help/import-from-slack">Slack</a>, <a href="/help/import-from-mattermost">Mattermost</a>,
|
|
or <a href="/help/import-from-rocketchat">Rocket.Chat</a>.
|
|
{% endtrans %}
|
|
</div>
|
|
{% endif %}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
{% endblock %}
|