apply.html 972 Bytes
Newer Older
1 2 3 4
<%inherit file="../main.html"/>
<%!
import json

5 6 7
from openedx.core.djangolib.js_utils import (
    dump_js_escaped_json, js_escaped_string
)
8 9 10 11 12 13
%>
<%namespace name='static' file='/static_content.html'/>

<%block name="js_extra">
<%static:require_module module_name="js/financial-assistance/financial_assistance_form_factory" class_name="FinancialAssistanceFactory">
FinancialAssistanceFactory({
14 15 16 17 18 19 20 21
    fields: ${fields | n, dump_js_escaped_json},
    user_details: ${user_details | n, dump_js_escaped_json},
    header_text: ${header_text | n, dump_js_escaped_json},
    student_faq_url: '${student_faq_url | n, js_escaped_string}',
    dashboard_url: '${dashboard_url | n, js_escaped_string}',
    account_settings_url: '${account_settings_url | n, js_escaped_string}',
    platform_name: '${platform_name | n, js_escaped_string}',
    submit_url: '${submit_url | n, js_escaped_string}'
22 23 24 25 26
});
</%static:require_module>
</%block>

<div class="financial-assistance-wrapper"></div>