Added function to register new user
This commit is contained in:
30
App/Views/Access/registrasi.html
Normal file
30
App/Views/Access/registrasi.html
Normal file
@@ -0,0 +1,30 @@
|
||||
{% extends "base.html" %}
|
||||
|
||||
{% block title %}Registrasi{% endblock %}
|
||||
|
||||
{% block body %}
|
||||
<form method="post">
|
||||
<h2>Registrasi</h2>
|
||||
|
||||
<label for="full_name">Nama Lengkap: </label>
|
||||
<input type="text" name="full_name" value="" placeholder="Type your name">
|
||||
|
||||
<br>
|
||||
|
||||
<label for="username">Username: </label>
|
||||
<input type="text" name="username" value="" placeholder="Type your username">
|
||||
|
||||
<br>
|
||||
|
||||
<label for="password">Password: </label>
|
||||
<input type="password" name="password" value="" placeholder="Type your password">
|
||||
|
||||
<input type="hidden" name="_method" value="post">
|
||||
|
||||
<input type="hidden" name="_token" value="{{ token }}">
|
||||
|
||||
<br>
|
||||
|
||||
<button type="submit">Registrasi</button>
|
||||
</form>
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user