質問編集履歴

1

htmlでの作成

2021/03/05 03:15

投稿

so_ma
so_ma

スコア5

test CHANGED
File without changes
test CHANGED
@@ -18,9 +18,67 @@
18
18
 
19
19
  ### 該当のソースコード
20
20
 
21
+ ```html
22
+
23
+
24
+
25
+ <div class="mycomment">
26
+
27
+ <a class="delete-btn hidden" id="destroy" rel="nofollow" data-method="delete" href="/rooms/7/messages/40">削除する</a>
28
+
29
+ 既読
30
+
31
+ 03/04 17:30
32
+
33
+ <p class="my">あ</p>
34
+
35
+ </div>
36
+
37
+ <div class="mycomment">
38
+
39
+ <a class="delete-btn hidden" id="destroy" rel="nofollow" data-method="delete" href="/rooms/7/messages/47">削除する</a>
40
+
41
+ 既読
42
+
43
+ 03/04 21:55
44
+
45
+ <p class="my">こんにちは</p>
46
+
47
+ </div>
48
+
49
+ <div class="mycomment">
50
+
51
+ <a class="delete-btn hidden" id="destroy" rel="nofollow" data-method="delete" href="/rooms/7/messages/48">削除する</a>
52
+
53
+ 既読
54
+
55
+ 03/04 21:55
56
+
57
+ <p class="my">あ</p>
58
+
59
+ </div>
60
+
61
+ <div class="mycomment">
62
+
63
+ <a class="delete-btn hidden" id="destroy" rel="nofollow" data-method="delete" href="/rooms/7/messages/49">削除する</a>
64
+
65
+ 既読
66
+
67
+ 03/04 21:55
68
+
69
+ <p class="my">あ</p>
70
+
71
+ </div>
72
+
73
+
74
+
75
+
76
+
77
+ ```
21
78
 
22
79
 
80
+
23
- ```Ruby
81
+ ```ruby
24
82
 
25
83
  <% @messages.each do |message|%>
26
84
 
@@ -42,37 +100,9 @@
42
100
 
43
101
  <% else %>
44
102
 
45
- <div class="fukidasi">
46
-
47
- <div class="faceicon">
48
-
49
- <%= image_tag @room.celeb.image, class: 'img' %>
50
-
51
- </div>
52
-
53
- <div class="chatting">
54
-
55
- <div class="says">
56
-
57
- <p><%= message.content %></p>
58
-
59
- </div>
60
-
61
- <div class='created_at'>
62
-
63
- <%= l message.created_at, format: :short %>
64
-
65
- </div>
66
-
67
- </div>
68
-
69
- </div>
70
-
71
- <% end %>
103
+ ```
72
104
 
73
105
 
74
-
75
- ```
76
106
 
77
107
  ```javascript
78
108