2023-11-02 10:09:24 +01:00
{% extends "zerver/portico.html" %}
{% set entrypoint = "sponsorship" %}
{% set PAGE_TITLE = "💚 Request sponsorship" %}
2023-11-02 09:36:27 +01:00
{% block portico_content %}
2023-11-02 10:09:24 +01:00
< div class = "register-account flex full-page" >
< div class = "center-block new-style" >
< div class = "pitch" >
< h1 > 💚 Request sponsorship< / h1 >
< / div >
< div id = "registration" class = "white-box" >
< div id = "sponsorship-error" class = "alert alert-danger" > < / div >
< div id = "sponsorship-input-section" >
< form id = "sponsorship-form" method = "post" >
< input type = "hidden" name = "csrfmiddlewaretoken" value = "{{ csrf_token }}" / >
2023-11-02 12:34:00 +01:00
< div class = "input-box sponsorship-form-field no-validation" >
2023-11-02 12:08:50 +01:00
< label for = "org-name" class = "inline-block label-title" > {{ _('Organization') }}< / label >
2023-11-02 12:11:01 +01:00
< div id = "org-name" class = "not-editable-realm-field" > {{ realm_name }}< / div >
< / div >
2023-11-02 12:34:00 +01:00
< div class = "input-box sponsorship-form-field" >
2023-11-02 12:11:01 +01:00
< div class = "inline-block relative" >
< select name = "realm_type" id = "realm_type" class = "sponsorship-form-select" >
{% for org_type in sorted_org_types %}
{% if not org_type[1].hidden %}
< option data-string-value = "{{ org_type[0] }}"
{% if org_type[1].id == realm_org_type %}selected{% endif %}
value="{{ org_type[1].id }}">
{{ _(org_type[1].name) }}
< / option >
{% endif %}
{% endfor %}
< / select >
< / div >
< label for = "realm_type" class = "inline-block label-title" > {{ _('Organization type') }}< / label >
< / div >
2023-11-02 12:34:00 +01:00
< div class = "input-box sponsorship-form-field no-validation" >
2023-11-02 12:11:01 +01:00
< label for = "org-website" class = "inline-block label-title" > {{ _('Organization website') }}< / label >
< input id = "org-website" name = "website" type = "text" class = "input-large" placeholder = "{{ _('Leave blank if your organization does not have a website.') }}" / >
< / div >
2023-11-02 12:34:00 +01:00
< div class = "input-box sponsorship-form-field" >
2023-11-02 12:11:01 +01:00
< label for = "description" class = "inline-block label-title" > {{ _('Describe your organization briefly') }}< / label >
< textarea id = "description" name = "description" cols = "100" rows = "5" required > < / textarea >
2023-11-02 12:08:50 +01:00
< / div >
2023-11-02 10:09:24 +01:00
< p id = "sponsorship-discount-details" > < / p >
<!-- Disabled buttons do not fire any events, so we need a container div that isn't disabled for tippyjs to work -->
< div class = "upgrade-button-container" { % if is_demo_organization % } data-tippy-content = "{% trans %}Convert demo organization before upgrading.{% endtrans %}" { % endif % } >
< button type = "submit" id = "sponsorship-button" class = "stripe-button-el invoice-button" { % if is_demo_organization % } disabled { % endif % } >
Submit
2023-11-02 12:35:18 +01:00
< object class = "loader" type = "image/svg+xml" data = "{{ static('images/loading/loader-white.svg') }}" > < / object >
2023-11-02 10:09:24 +01:00
< / button >
< / div >
< / form >
< / div >
2023-02-13 20:40:51 +01:00
< / div >
< / div >
< / div >
2023-11-02 10:09:24 +01:00
2023-11-02 09:36:27 +01:00
{% endblock %}