質問編集履歴

1

修正

2022/09/02 00:42

投稿

jem32o_
jem32o_

スコア79

test CHANGED
File without changes
test CHANGED
@@ -29,6 +29,31 @@
29
29
  Route::post('/confirm', [App\Http\Controllers\ConfirmController::class, 'confirm'])->middleware('auth');
30
30
  ```
31
31
 
32
+ ```edit.balde.php
33
+ <div class="edit_contents">
34
+ <div class="thumbnail-content">
35
+ <label class="label" style="display: block;">{{ config('message.thumbnail') }}</label>
36
+ <label>
37
+ <div class="thumbnail">
38
+ <div class="delete_spot_photo delete_photo"><span>×</span></div>
39
+ <img class="thumbnail-img">
40
+ <span class="photo">写真追加</span>
41
+ </div>
42
+ <input type="file" name="thumbnail" id="thumbnail" hidden accept=".png, .jpeg, .jpg">
43
+ </label>
44
+ </div>
45
+ <div class="title-contents">
46
+ <label for="title" class="label">{{ config('message.title') }}</label>
47
+ <input type="text" name="title" id="title" maxlength="100" placeholder="{{ config('message.title_exam') }}">
48
+ <span class="error_title error"></span>
49
+ </div>
50
+ <div class="description-contents">
51
+ <label for="description" class="label">{{ config('message.description') }}</label>
52
+ <textarea name="description" id="description" cols="30" rows="10" maxlength="200" placeholder="{{ config('message.description_exam') }}"></textarea>
53
+ <span class="error_description error"></span>
54
+ </div>
55
+ </div>
56
+ ```
32
57
  ```js
33
58
  // 確認画面遷移
34
59
  $('#spot_confirm').click(function(){