質問編集履歴
1
問題箇所のコードの記述追加
test
CHANGED
File without changes
|
test
CHANGED
@@ -211,3 +211,87 @@
|
|
211
211
|
});
|
212
212
|
|
213
213
|
```
|
214
|
+
|
215
|
+
|
216
|
+
|
217
|
+
```ここに言語を入力
|
218
|
+
|
219
|
+
<div class="header">
|
220
|
+
|
221
|
+
<h1>軽音スタジオ予約サイト</h1>
|
222
|
+
|
223
|
+
</div>
|
224
|
+
|
225
|
+
|
226
|
+
|
227
|
+
<p id="notice"><%= notice %></p>
|
228
|
+
|
229
|
+
|
230
|
+
|
231
|
+
<table>
|
232
|
+
|
233
|
+
<thead>
|
234
|
+
|
235
|
+
<tr>
|
236
|
+
|
237
|
+
<th>名前</th>
|
238
|
+
|
239
|
+
<th>備考</th>
|
240
|
+
|
241
|
+
<th>開始</th>
|
242
|
+
|
243
|
+
<th>終了</th>
|
244
|
+
|
245
|
+
<th colspan="3"></th>
|
246
|
+
|
247
|
+
</tr>
|
248
|
+
|
249
|
+
</thead>
|
250
|
+
|
251
|
+
|
252
|
+
|
253
|
+
<tbody>
|
254
|
+
|
255
|
+
<% @events.each do |event| %>
|
256
|
+
|
257
|
+
<tr>
|
258
|
+
|
259
|
+
<td><%= event.title %></td>
|
260
|
+
|
261
|
+
<td><%= event.body %></td>
|
262
|
+
|
263
|
+
<td><%= event.start_date %></td>
|
264
|
+
|
265
|
+
<td><%= event.end_date %></td>
|
266
|
+
|
267
|
+
<td><%= link_to '詳細', event %></td>
|
268
|
+
|
269
|
+
<td><%= link_to '編集', edit_event_path(event) %></td>
|
270
|
+
|
271
|
+
<td><%= link_to '削除', event, method: :delete, data: { confirm: '削除しますか?' } %></td>
|
272
|
+
|
273
|
+
</tr>
|
274
|
+
|
275
|
+
<% end %>
|
276
|
+
|
277
|
+
</tbody>
|
278
|
+
|
279
|
+
</table>
|
280
|
+
|
281
|
+
|
282
|
+
|
283
|
+
<br>
|
284
|
+
|
285
|
+
|
286
|
+
|
287
|
+
<%= link_to '予約画面へ進む', new_event_path %>
|
288
|
+
|
289
|
+
|
290
|
+
|
291
|
+
<div id="calendar"></div>
|
292
|
+
|
293
|
+
|
294
|
+
|
295
|
+
|
296
|
+
|
297
|
+
```
|