You can use the action() helper to generate an URL to your route: <form method="post" action="{{ action('WelcomeController@log_in') }} ... ... <看更多>
Search
Search
You can use the action() helper to generate an URL to your route: <form method="post" action="{{ action('WelcomeController@log_in') }} ... ... <看更多>
in this laravel 8 video tutorial, how to make HTML form and submit it to the controller in laravel 8ther version ... ... <看更多>
また地味なものを作ってしまった・・・。ここからは余談です。) どのように実装されているか. Laravel に取り込まなくても Submit ボタンの onclick で form.action ... ... <看更多>
<form action="/" method="GET"> <input type="hidden" name="_token" value="randomstring"> <div class="form-group"> <label for="title">Title</label> <input ... ... <看更多>