前提・実現したいこと
ipadでできる選択式のテストをpythonanywhereでアップしようとしています。
発生している問題・エラーメッセージ
pcではしっかりとinputタグに入力したり選択したものが反映されるのですがipadで見ると反映されません。
↓選択後
このように上手く反映されずに文字化けのような感じになっています
該当のソースコード
html
1{% for item in c %} 2 <div style="display: flex;height: 350px;margin: 0 -45px;position: relative;"> 3 <h2 style="margin-bottom: 20px;position: relative;height:300px;">{{ item.rui1 }}</h2> 4 <select class="form-control" style="width: 50px;height: 50px;position: absolute;right: 20px;top: 150px;" name="ruither{{ item.class }}" required=""> 5 <option value="㋐">㋐</option> 6 <option value="㋑">㋑</option> 7 <option value="㋒">㋒</option> 8 <option value="㋓">㋓</option> 9 </select> 10 </div> 11 <div style="display: flex;height: 350px;margin: 0 -45px;position: relative;top: 250px;left:50px;"> 12 <h2 style="margin-bottom: 20px;position: relative;height:300px;">{{ item.rui2 }}</h2> 13 <select class="form-control" style="width: 50px;height: 50px;position: absolute;right: 20px;top: 150px;" name="ruither1{{ item.class }}" required=""> 14 <option value="㋐">㋐</option> 15 <option value="㋑">㋑</option> 16 <option value="㋒">㋒</option> 17 <option value="㋓">㋓</option> 18 </select> 19 </div> 20 {% endfor %}
views.py
1for i in aa: 2 list1.append(i['name']) 3 list1.append(i['name']) 4 list2 = [] 5 for i in aa: 6 list2.append(i['ruther1']) 7 list2.append(i['ruther2'])
※ i['name']とi['ruther1'],i['ruther2']はmodels.pyのCharfieldです
試したこと
pcではできるのでipadの再起動やアップデート(15.3にアップデート)をしましたが変わりませんでした
あなたの回答
tips
プレビュー