mirror of
https://github.com/aljazceru/CTFd.git
synced 2026-02-20 21:54:25 +01:00
5ce3003b Merge pull request #47 from aCursedComrade/patch-1 c9887cb1 Fix team template git-subtree-dir: CTFd/themes/core-beta git-subtree-split: 5ce3003b4d68352e629ee2d390bc999e7d6b071e
42 lines
1.3 KiB
HTML
42 lines
1.3 KiB
HTML
{% extends "base.html" %}
|
|
|
|
{% block content %}
|
|
<div class="jumbotron">
|
|
<div class="container">
|
|
<h1>{% trans %}Create Team{% endtrans %}</h1>
|
|
</div>
|
|
</div>
|
|
<div class="container">
|
|
<div class="row">
|
|
<div class="col-md-6 offset-md-3">
|
|
{% include "components/errors.html" %}
|
|
|
|
{% with form = Forms.teams.TeamRegisterForm() %}
|
|
{% from "macros/forms.html" import render_extra_fields %}
|
|
<form method="POST">
|
|
<div class="mb-3">
|
|
<b>{{ form.name.label(class="form-label") }}</b>
|
|
{{ form.name(class="form-control") }}
|
|
</div>
|
|
<div class="mb-3">
|
|
<b>{{ form.password.label(class="form-label") }}</b>
|
|
{{ form.password(class="form-control") }}
|
|
</div>
|
|
|
|
{{ render_extra_fields(form.extra) }}
|
|
|
|
<div class="row ">
|
|
<div class="col-md-12">
|
|
<p>After creating your team, share the team name and password with your teammates so they can join your
|
|
team.</p>
|
|
{{ form.submit(class="btn btn-success float-end px-4") }}
|
|
</div>
|
|
</div>
|
|
{{ form.nonce() }}
|
|
</form>
|
|
{% endwith %}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
{% endblock %}
|