thebadspace/templates/forms/login-form.twig
Ro e424df18aa Auth Framework, Part 2
Auth class is back up and running to handle user authorizaion
as well as session managment.
Implemented basic usage on admin index class just for an example.

Added a couple of new template files and css to start defining the
overall style of pages and UI.
2022-12-13 14:46:45 -08:00

9 lines
394 B
Twig

<form action="{{ path('back-index') }}" method="post" enctype="multipart/form-data">
<label>Handle</label><br/>
<input type="text" name="handle" value=""/>
<br/>
<label>Password</label><br/>
<input type="password" name="password" value=""/>
<input type="hidden" name="token" value="{{ csrf_token('upload') }}"/><br/>
<input type="submit" value="Knock Knock" name="submit_button"></form>