0

您好我正在尝试在我的 html 页面中插入 2 个脚本。然而,只有一个及其相关数据显示出来。

% extends "global/Page.html" %} {% load otree static %}

{% block title %} LA SUA SCELTA 1 {% endblock %}

{% block content %}

<link rel="stylesheet" href="{% static "beliefs_task/beliefs.css" %}"> <script type="text/javascript" src="{% static "beliefs_task/beliefs.js" %}"></script>

<link rel="stylesheet" href="{% static "beliefs_task/beliefs2.css" %}"> <script type="text/javascript" src="{% static "beliefs_task/beliefs2.js" %}"></script>

<style>
#decision {     font-size: x-large; } </style>

<p><h3> Da 0 a 100 quanto gettoni vorrebbe  che questa Scelta venga estratta ed usata per il Pagamento?</h3></p> {% formfield 'pref1' %}

<div id = "full_div"> </div>


<script> // Some initial globals let belief_dat = {{beliefs|json}}; beliefs_ns.mkview(belief_dat, "full_div", results = 1, show_submit = 1); </script>

<script> // Some initial globals let belief_dat2 = {{beliefs|json}}; beliefs_ns.mkview(belief_dat2, "full_div", results = 1, show_submit = 1); </script>

{% endblock %}

我错过了什么吗?

4

0 回答 0