質問編集履歴

1

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

2021/12/01 06:16

投稿

o0039
o0039

スコア3

test CHANGED
File without changes
test CHANGED
@@ -186,9 +186,29 @@
186
186
 
187
187
  ```ここに言語名を入力
188
188
 
189
+
190
+
191
+ <div class="contentArea">
192
+
193
+ <div class="contentArea__header flex items-center justify-between p-5">
194
+
195
+ <p>新規プロジェクト作成</p>
196
+
197
+ </div>
198
+
199
+ <div class="contentArea__userInfo">
200
+
201
+ <x-auth-validation-errors class="mb-4" :errors="$errors" />
202
+
203
+ <form method="post" action="{{ route('admin.projects.store') }}" enctype="multipart/form-data"
204
+
205
+ class="contentArea__userInfo__form">
206
+
207
+ @csrf
208
+
189
- <dl class="contentArea__userInfo__edit">
209
+ <dl class="contentArea__userInfo__edit">
190
-
210
+
191
- <dt>アイキャッチ画像</dt>
211
+ <dt>プロジェクト画像</dt>
192
212
 
193
213
  <dd>
194
214
 
@@ -200,7 +220,9 @@
200
220
 
201
221
  <label class="contentArea__mv__userImg__input z-0">
202
222
 
203
- <input type="file" accept="image/png,image/jpeg,image/gif" name="project_image" id="user_img">
223
+ <input type="file" accept="image/png,image/jpeg,image/jpg,image/gif"
224
+
225
+ name="project_image" id="user_img">
204
226
 
205
227
  </label>
206
228
 
@@ -208,7 +230,7 @@
208
230
 
209
231
  </div>
210
232
 
211
- <p class="contentArea__mv__userImg__text">ユーザー画像選択</p>
233
+ <p class="contentArea__mv__userImg__text">プロジェクト画像</p>
212
234
 
213
235
  </div>
214
236
 
@@ -216,6 +238,16 @@
216
238
 
217
239
  </dl>
218
240
 
241
+ <dl class="contentArea__userInfo__edit">
242
+
243
+ <dt>プロジェクト名</dt>
244
+
245
+ <dd><input type="text" name="project_name" value="{{ old('project_name') }}"></dd>
246
+
247
+ </dl>
248
+
249
+          ・・・
250
+
219
251
  ```
220
252
 
221
253
  ```ここに言語名を入力