質問編集履歴

2

誤って作成出来ていなかったログイン画面の追記

2022/11/01 12:51

投稿

takigawa777
takigawa777

スコア21

test CHANGED
File without changes
test CHANGED
@@ -327,6 +327,32 @@
327
327
 
328
328
  @endsection
329
329
  ```
330
+ ```
331
+ login.blade.php(ログイン処理をするビュー)
332
+ @extends('layouts.not_logged_in')
333
+
334
+ @section('content')
335
+ <h1>ログイン</h1>
336
+
337
+ <form method="POST" action="{{ route('login') }}">
338
+ @csrf
339
+ <div>
340
+ <label>
341
+ メールアドレス:
342
+ <input type="email" name="email">
343
+ </label>
344
+ </div>
345
+ <div>
346
+ <label>
347
+ パスワード:
348
+ <input type="password" name="password" >
349
+ </label>
350
+ </div>
351
+
352
+ <input type="submit" value="ログイン">
353
+ </form>
354
+ @endsection
355
+ ```
330
356
  ### 試したこと
331
357
 
332
358
  誤字脱字の確認、ルーティングのチェックなど

1

エラーコードの追記

2022/11/01 08:21

投稿

takigawa777
takigawa777

スコア21

test CHANGED
File without changes
test CHANGED
@@ -11,6 +11,7 @@
11
11
 
12
12
  ```
13
13
  View [auth.login] not found.
14
+ Missing required parameters for [Route: profile.show] [URI: profile/{profile}]. (View: /home/ec2-user/environment/laravel_market/resources/views/layouts/top.blade.php)
14
15
  ```
15
16
 
16
17
  ### 該当のソースコード