質問編集履歴
2
改訂
test
CHANGED
File without changes
|
test
CHANGED
@@ -14,85 +14,9 @@
|
|
14
14
|
|
15
15
|
|
16
16
|
|
17
|
-
```
|
18
|
-
|
19
|
-
{% block content %}
|
20
17
|
|
21
18
|
|
22
|
-
|
23
|
-
<form method="post">
|
24
|
-
|
25
|
-
<div class="container">
|
26
|
-
|
27
|
-
<input type="checkbox" class="btn-check" id="btn-check" autocomplete="off">
|
28
|
-
|
29
|
-
<label class="btn btn-primary" for="btn-check">{% trans "Extract from text" %}</label>
|
30
|
-
|
31
|
-
<div class="message">
|
32
|
-
|
33
|
-
<form action="" method="POST" name="form_change_question_text" id="form_change_question_text">
|
34
|
-
|
35
|
-
{% csrf_token %}
|
36
|
-
|
37
|
-
{{ qustion_text_form.non_field_errors }}
|
38
|
-
|
39
|
-
<div class="form-group">
|
40
|
-
|
41
|
-
<h2>{{ qustion_text_form }}</h2>
|
42
|
-
|
43
|
-
<button type="submit" class="btn btn-primary" name="button_choice_from_text"> {% trans "apply" %} </button>
|
44
|
-
|
45
|
-
</div>
|
46
|
-
|
47
|
-
</form>
|
48
|
-
|
49
|
-
</div>
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
<form action="" method="POST" name="form_change_choice_text" id="form_change_choice_text">
|
54
|
-
|
55
|
-
{% csrf_token %}
|
56
|
-
|
57
|
-
{{ choice_text_form.non_field_errors }}
|
58
|
-
|
59
|
-
<div class="form-group">
|
60
|
-
|
61
|
-
{{ choice_text_form.as_p }}
|
62
|
-
|
63
|
-
<button type="submit" class="btn btn-primary" name="button_save_planfrom"> {% trans "save" %} </button>
|
64
|
-
|
65
|
-
</div>
|
66
|
-
|
67
|
-
</form>
|
68
|
-
|
69
|
-
<div class="row">
|
70
|
-
|
71
|
-
<div class="col-12">
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
</div>
|
76
|
-
|
77
|
-
</div>
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
</div>
|
84
|
-
|
85
|
-
{% csrf_token %}
|
86
|
-
|
87
|
-
</form>
|
88
|
-
|
89
|
-
{% endblock %}
|
90
|
-
|
91
|
-
```
|
92
|
-
|
93
19
|
このようなcssがdivなどはできるのにbodyには読み込み時の一瞬しか反映されません。
|
94
|
-
|
95
|
-
djangoを使っていないhtmlでは問題なかったので、これが関係しているかもしれません。
|
96
20
|
|
97
21
|
なにかご存知の方はいらっしゃいませんか。
|
98
22
|
|
1
追記
test
CHANGED
File without changes
|
test
CHANGED
@@ -7,6 +7,86 @@
|
|
7
7
|
color: #000000;
|
8
8
|
|
9
9
|
}
|
10
|
+
|
11
|
+
|
12
|
+
|
13
|
+
```
|
14
|
+
|
15
|
+
|
16
|
+
|
17
|
+
```
|
18
|
+
|
19
|
+
{% block content %}
|
20
|
+
|
21
|
+
|
22
|
+
|
23
|
+
<form method="post">
|
24
|
+
|
25
|
+
<div class="container">
|
26
|
+
|
27
|
+
<input type="checkbox" class="btn-check" id="btn-check" autocomplete="off">
|
28
|
+
|
29
|
+
<label class="btn btn-primary" for="btn-check">{% trans "Extract from text" %}</label>
|
30
|
+
|
31
|
+
<div class="message">
|
32
|
+
|
33
|
+
<form action="" method="POST" name="form_change_question_text" id="form_change_question_text">
|
34
|
+
|
35
|
+
{% csrf_token %}
|
36
|
+
|
37
|
+
{{ qustion_text_form.non_field_errors }}
|
38
|
+
|
39
|
+
<div class="form-group">
|
40
|
+
|
41
|
+
<h2>{{ qustion_text_form }}</h2>
|
42
|
+
|
43
|
+
<button type="submit" class="btn btn-primary" name="button_choice_from_text"> {% trans "apply" %} </button>
|
44
|
+
|
45
|
+
</div>
|
46
|
+
|
47
|
+
</form>
|
48
|
+
|
49
|
+
</div>
|
50
|
+
|
51
|
+
|
52
|
+
|
53
|
+
<form action="" method="POST" name="form_change_choice_text" id="form_change_choice_text">
|
54
|
+
|
55
|
+
{% csrf_token %}
|
56
|
+
|
57
|
+
{{ choice_text_form.non_field_errors }}
|
58
|
+
|
59
|
+
<div class="form-group">
|
60
|
+
|
61
|
+
{{ choice_text_form.as_p }}
|
62
|
+
|
63
|
+
<button type="submit" class="btn btn-primary" name="button_save_planfrom"> {% trans "save" %} </button>
|
64
|
+
|
65
|
+
</div>
|
66
|
+
|
67
|
+
</form>
|
68
|
+
|
69
|
+
<div class="row">
|
70
|
+
|
71
|
+
<div class="col-12">
|
72
|
+
|
73
|
+
|
74
|
+
|
75
|
+
</div>
|
76
|
+
|
77
|
+
</div>
|
78
|
+
|
79
|
+
|
80
|
+
|
81
|
+
|
82
|
+
|
83
|
+
</div>
|
84
|
+
|
85
|
+
{% csrf_token %}
|
86
|
+
|
87
|
+
</form>
|
88
|
+
|
89
|
+
{% endblock %}
|
10
90
|
|
11
91
|
```
|
12
92
|
|
@@ -19,3 +99,15 @@
|
|
19
99
|
|
20
100
|
|
21
101
|
よろしくお願いします。
|
102
|
+
|
103
|
+
|
104
|
+
|
105
|
+
追記
|
106
|
+
|
107
|
+
html{}だとdiv以外に適用で、
|
108
|
+
|
109
|
+
div{}やform{}だと上の反対、
|
110
|
+
|
111
|
+
body{}はまったく適用されない感じです。
|
112
|
+
|
113
|
+
ためしにformなどの要素をほとんど消しても変わりませんでした。
|