質問編集履歴
1
html追記
test
CHANGED
File without changes
|
test
CHANGED
@@ -50,6 +50,34 @@
|
|
50
50
|
});
|
51
51
|
```
|
52
52
|
|
53
|
+
```html
|
54
|
+
<input type="hidden" class="message_add">
|
55
|
+
<div class="message_process" style="margin-bottom: 2rem;">
|
56
|
+
<div class="message_text">
|
57
|
+
<textarea id="message_counter" class="textarea form-control" placeholder="メッセージを入力ください" name="text"></textarea>
|
58
|
+
<div class="counter">
|
59
|
+
<span class="message_count">0</span><span>/300</span>
|
60
|
+
</div>
|
61
|
+
<input type="hidden" class="destination_user_id" name="destination_user_id" value="{{$destination_user->id}}">
|
62
|
+
<input type="hidden" class="current_user_id" name="current_user_id" value="{{$current_user->id}}">
|
63
|
+
<input type="hidden" class="image" name="image" value="{{asset($current_user->image)}}">
|
64
|
+
</div>
|
65
|
+
<div class="message_btn">
|
66
|
+
<div class="message_image">
|
67
|
+
<label>
|
68
|
+
<i class="far fa-image"></i>
|
69
|
+
<input type="file" name="image" id="my_image" accept="image/*" multiple>
|
70
|
+
</label>
|
71
|
+
</div>
|
72
|
+
<button class="btn btn-outline-primary message_btn" name="post" value="post" id="post">送信</button>
|
73
|
+
</div>
|
74
|
+
<div class="message_image_detail">
|
75
|
+
<div><img class="my_preview"></div>
|
76
|
+
<i class="far fa-times-circle my_clear"></i>
|
77
|
+
</div>
|
78
|
+
</div>
|
79
|
+
```
|
53
80
|
|
54
81
|
|
55
82
|
|
83
|
+
|