diff --git a/job_posting_generator/templates/job_posting_generator/detail.html b/job_posting_generator/templates/job_posting_generator/detail.html index a6a4bea..18b0f59 100644 --- a/job_posting_generator/templates/job_posting_generator/detail.html +++ b/job_posting_generator/templates/job_posting_generator/detail.html @@ -14,6 +14,9 @@ document.body.setAttribute('data-user-authenticated', '{{ user.is_authenticated|yesno:"true,false" }}'); document.body.setAttribute('data-login-url', '{% url "authentication:login" %}'); document.body.setAttribute('data-wallet-url', '{% url "wallet:wallet" %}'); + + // Initialize agent configuration + window.AGENT_PRICE = {{ agent.price }}; });