MyHome/primary/templates/user/add.html

19 lines
467 B
HTML
Raw Normal View History

2020-01-15 14:09:07 +00:00
{% extends "layouts/base.html" %}
{% block subtitle %}
<h1 class="text-4xl">Tambah User</h1>
{% endblock %}
{% block content %}
<div>
<form action="/user/add-post" method="POST">
<div>
<label for="NamaUser">Nama User</label>
<input type="text" class="border py-1 px-2" name="NamaUser">
</div>
{% csrf_token %}
<button type="submit" class="bg-blue-500 text-white py-2 px-4 text-center">Submit</button>
</form>
</div>
{% endblock %}