質問編集履歴
1
consoleの内容、生成されたhtmlのソースを追加
test
CHANGED
File without changes
|
test
CHANGED
@@ -119,3 +119,81 @@
|
|
119
119
|
</div>
|
120
120
|
|
121
121
|
```
|
122
|
+
|
123
|
+
|
124
|
+
|
125
|
+
Chromeのディベロッパーのconsole上は、エラーなし。
|
126
|
+
|
127
|
+
|
128
|
+
|
129
|
+
生成されたhtml
|
130
|
+
|
131
|
+
|
132
|
+
|
133
|
+
```html
|
134
|
+
|
135
|
+
|
136
|
+
|
137
|
+
<html><head></head><body><div class="mx-auto" style="width: 600px; background-color: #2ff1d4; margin: 10px 10px">
|
138
|
+
|
139
|
+
<div class="container-fluid">
|
140
|
+
|
141
|
+
<div class="row">
|
142
|
+
|
143
|
+
<div class="col-sm-12">
|
144
|
+
|
145
|
+
<form method="POST" action="/article">
|
146
|
+
|
147
|
+
<div class="form-group">
|
148
|
+
|
149
|
+
<input type="hidden" name="_token" value="bWV0n4sCgGqdPusei6i7ZsRDWCeIFjg8kwd80KQk">
|
150
|
+
|
151
|
+
<p class="ext-monospace">タイトル</p><input type="text" name="title" class="form-control"><br>
|
152
|
+
|
153
|
+
<p class="ext-monospace">本文</p><input type="text" name="body" class="form-control"><br>
|
154
|
+
|
155
|
+
<input type="submit" value="投稿" class="btn btn-default">
|
156
|
+
|
157
|
+
</div>
|
158
|
+
|
159
|
+
</form>
|
160
|
+
|
161
|
+
<br><br>
|
162
|
+
|
163
|
+
</div>
|
164
|
+
|
165
|
+
</div>
|
166
|
+
|
167
|
+
<div class="mx-auto" style="width: 450px;">
|
168
|
+
|
169
|
+
<div class="row">
|
170
|
+
|
171
|
+
<div class="col-sm-12">
|
172
|
+
|
173
|
+
<div class="card border-primary mb-4" style="max-width: 30rem;">
|
174
|
+
|
175
|
+
<div class="card-header">投稿者 まどか</div>
|
176
|
+
|
177
|
+
<div class="card-body text-primary">
|
178
|
+
|
179
|
+
<h5 class="card-title">hoge</h5>
|
180
|
+
|
181
|
+
<p class="card-text">test </p>
|
182
|
+
|
183
|
+
</div>
|
184
|
+
|
185
|
+
</div>
|
186
|
+
|
187
|
+
</div>
|
188
|
+
|
189
|
+
</div>
|
190
|
+
|
191
|
+
</div>
|
192
|
+
|
193
|
+
</div>
|
194
|
+
|
195
|
+
</body></html>
|
196
|
+
|
197
|
+
|
198
|
+
|
199
|
+
```
|