{% extends 'portal/base.html' %} {% load static %} {% load app_tags %} {% block content %}

Join a school or club

{% if student.pending_class_request %}
Request pending

Your request to join class {{ student.pending_class_request.access_code }} in the school or club {{ student.pending_class_request.teacher.school.name }} is still pending.

The teacher for that class must review and approve the request to complete the process.

If successful, the teacher will then contact you with your new login details.

Warning: once the teacher accepts you to their class, that teacher and the school or club will manage your account.

You may cancel your request now, before the teacher makes their decision.

{% csrf_token %}
{% else %}
Request to join a school or club

If you want to link your Code For Life account with a school or club, ask a teacher to enable external requests and provide you with the Class Access Code for the class you want to join. Simply add the Class Access Code to the form below and submit.

Warning: once the teacher accepts you to their class, that teacher and the school or club will manage your account.

If successful, the teacher will contact you with your new login details.

{% csrf_token %} {{ request_form.non_field_errors }} {{ request_form.access_code.errors }} {{ request_form.access_code }}
{% endif %}
{% endblock %}