Files
CTFd/templates/teams/join_team.html
Kevin Chung a64e7d51ef Squashed 'CTFd/themes/core-beta/' changes from 9126d77d..5ce3003b
5ce3003b Merge pull request #47 from aCursedComrade/patch-1
c9887cb1 Fix team template

git-subtree-dir: CTFd/themes/core-beta
git-subtree-split: 5ce3003b4d68352e629ee2d390bc999e7d6b071e
2023-06-11 15:56:28 -04:00

38 lines
1.0 KiB
HTML

{% extends "base.html" %}
{% block content %}
<div class="jumbotron">
<div class="container">
<h1>{% trans %}Join Team{% endtrans %}</h1>
</div>
</div>
<div class="container">
<div class="row">
<div class="col-md-8 col-lg-6 offset-md-2 offset-lg-3">
{% include "components/errors.html" %}
{% with form = Forms.teams.TeamJoinForm() %}
<form method="POST">
<div class="mb-3">
{{ form.name.label(class="form-label") }}
{{ form.name(class="form-control") }}
</div>
<div class="mb-3">
{{ form.password.label(class="form-label") }}
{{ form.password(class="form-control") }}
</div>
<div class="row pt-3">
<div class="col-md-12">
{{ form.submit(class="btn btn-success float-end px-4") }}
</div>
</div>
{{ form.nonce() }}
</form>
{% endwith %}
</div>
</div>
</div>
{% endblock %}