You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
1.1 KiB
HTML
27 lines
1.1 KiB
HTML
5 years ago
|
{% extends "layout/basic.html" %}
|
||
|
{% block content %}
|
||
|
<div class="domain_join__container">
|
||
|
<div class="row columns">
|
||
|
<div class="section">
|
||
|
<div class="section__header">
|
||
|
<h1 class="section__title">
|
||
|
{{ _('Join {0}').format(handler.domain['name']) }}
|
||
|
</h1>
|
||
|
</div>
|
||
|
<div class="section__body typo">
|
||
|
<p>{{ _('By clicking the button, you will become a member of the domain {0}.').format(handler.domain['name']) }}</p>
|
||
|
</div>
|
||
|
<div class="section__body typo">
|
||
|
<form method="post">
|
||
|
<input type="hidden" name="csrf_token" value="{{ handler.csrf_token }}">
|
||
|
{% if join_settings['method'] == vj4.constant.domain.JOIN_METHOD_CODE %}
|
||
|
{{ form.form_text(columns=None, label='Invitation Code', name='code', required=true, help_text='You need to enter the invitation code to join the domain.', value=code, autofocus=True) }}
|
||
|
{% endif %}
|
||
|
<button type="submit" class="primary rounded button">{{ _('Join') }}</button>
|
||
|
</form>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
{% endblock %}
|