質問するログイン新規登録

質問編集履歴

1

HTMLの箇所を追加いたしました。

2021/12/01 06:16

投稿

o0039
o0039

スコア3

title CHANGED
File without changes
body CHANGED
@@ -92,21 +92,37 @@
92
92
 
93
93
  ```
94
94
  ```ここに言語名を入力
95
+
96
+ <div class="contentArea">
97
+ <div class="contentArea__header flex items-center justify-between p-5">
98
+ <p>新規プロジェクト作成</p>
99
+ </div>
100
+ <div class="contentArea__userInfo">
101
+ <x-auth-validation-errors class="mb-4" :errors="$errors" />
102
+ <form method="post" action="{{ route('admin.projects.store') }}" enctype="multipart/form-data"
103
+ class="contentArea__userInfo__form">
104
+ @csrf
95
- <dl class="contentArea__userInfo__edit">
105
+ <dl class="contentArea__userInfo__edit">
96
- <dt>アイキャッチ画像</dt>
106
+ <dt>プロジェクト画像</dt>
97
107
  <dd>
98
108
  <div class="flex items-center">
99
109
  <div class="flex items-center justify-between">
100
110
  <div class="bg-gray-400 rounded-full w-14 h-14 relative">
101
111
  <label class="contentArea__mv__userImg__input z-0">
102
- <input type="file" accept="image/png,image/jpeg,image/gif" name="project_image" id="user_img">
112
+ <input type="file" accept="image/png,image/jpeg,image/jpg,image/gif"
113
+ name="project_image" id="user_img">
103
114
  </label>
104
115
  </div>
105
116
  </div>
106
- <p class="contentArea__mv__userImg__text">ユーザー画像選択</p>
117
+ <p class="contentArea__mv__userImg__text">プロジェクト画像</p>
107
118
  </div>
108
119
  </dd>
109
120
  </dl>
121
+ <dl class="contentArea__userInfo__edit">
122
+ <dt>プロジェクト名</dt>
123
+ <dd><input type="text" name="project_name" value="{{ old('project_name') }}"></dd>
124
+ </dl>
125
+          ・・・
110
126
  ```
111
127
  ```ここに言語名を入力
112
128
  @props(['errors'])