質問編集履歴
1
コード追記しました
test
CHANGED
File without changes
|
test
CHANGED
@@ -38,13 +38,25 @@
|
|
38
38
|
|
39
39
|
```ここに言語名を入力
|
40
40
|
|
41
|
-
<
|
41
|
+
<%= form_with url: '/events/:id/reports', local: true, method: :post, model:@report do |f| %>
|
42
42
|
|
43
|
-
|
43
|
+
<div class="CheckBox" style="text-align: right;">
|
44
44
|
|
45
|
-
<%= f.
|
45
|
+
<%= f.check_box :completed, {}, :as => :boolean, unchecked:false, required: true %>
|
46
46
|
|
47
|
+
<%= f.label :completed, "注意を確認" %>
|
48
|
+
|
47
|
-
</div>
|
49
|
+
</div>
|
50
|
+
|
51
|
+
|
52
|
+
|
53
|
+
<div class="event_new_submit">
|
54
|
+
|
55
|
+
<%= f.submit '投稿する', style: 'margin-right:0px;', data: { disable_with: '保存中...' } %>
|
56
|
+
|
57
|
+
</div>
|
58
|
+
|
59
|
+
<% end %>
|
48
60
|
|
49
61
|
|
50
62
|
|