{% extends "platform/base.html" %}

{% load i18n %}
{% block extra_head %}
    <script>
        localeMessages = {
            ...localeMessages,
            "add_organization": "{% translate 'Add an Organization' %}",
            "actions": "{% translate 'Actions' %}",
            "name": "{% translate 'Name' %}",
            "description": "{% translate 'Description' %}",
            "name_required": "{% translate 'Name is required.' %}",
            "description_required": "{% translate 'Description is required.' %}",
            "error_try_again": "{% translate 'An error occurred. Please try again.' %}",
            "logo": "{% translate 'Logo' %}",
            "create_organization": "{% translate 'Create Organization' %}",
            "cancel": "{% translate 'Cancel' %}",
            "delete": "{% translate 'Delete' %}",
            "confirm_deletion": "{% translate 'Confirm Deletion' %}",
            "remove_logo": "{% translate 'Remove Logo' %}",
            "create": "{% translate 'Create' %}",
            "update": "{% translate 'Update' %}",
            "organization_logo": "{% translate 'Organization Logo' %}",
            "are_you_sure_delete_org": "{% translate 'Are you sure you want to delete the organization \"ORGANIZATION_NAME\"? All the courses contents and users under this organization will also be deleted.' %}",
        }
    </script>
    <link rel="modulepreload" crossorigin href="/static/assets/render-CsAa6Dr_.js">
    <link rel="modulepreload" crossorigin href="/static/assets/Base-BSqEL6Lb.js">
    <link rel="modulepreload" crossorigin href="/static/assets/Add-vjzxrvRJ.js">
    <link rel="modulepreload" crossorigin href="/static/assets/Delete-DK39hE54.js">
    <link rel="modulepreload" crossorigin href="/static/assets/Edit-CaBwSg4G.js">
    <link rel="modulepreload" crossorigin href="/static/assets/utils-B_PI31II.js">
    <link rel="modulepreload" crossorigin href="/static/assets/RequiredTextField-Bz89YX4-.js">
    <link rel="modulepreload" crossorigin href="/static/assets/Button-DRzV9gyj.js">
    <link rel="modulepreload" crossorigin href="/static/assets/DialogActions-CQFWjT9y.js">
    <link rel="modulepreload" crossorigin href="/static/assets/Dialog-DXg9g5Sc.js">
    <link rel="modulepreload" crossorigin href="/static/assets/Alert-C1JjHWpG.js">
    <link rel="modulepreload" crossorigin href="/static/assets/SwitchBase-Bk6NkRGa.js">
    <link rel="stylesheet" href="/static/assets/render-tn0RQdqM.css">
    <script type="module" crossorigin src="/static/assets/organizations-CMmbIBbp.js"></script>
{% endblock %}
