diff --git a/README.md b/README.md index 39af258..f21b441 100644 --- a/README.md +++ b/README.md @@ -464,6 +464,9 @@ urlpatterns = [ 1. Apa itu Django UserCreationForm, dan jelaskan apa kelebihan dan kekurangannya? + + + diff --git a/main/templates/login.html b/main/templates/login.html index ce64cd6..0100069 100644 --- a/main/templates/login.html +++ b/main/templates/login.html @@ -4,42 +4,132 @@ Login {% endblock meta %} + {% block content %} + + + Adventurer's Inventory + + + + + + + + {% csrf_token %} + + + Username: + + + + + Password: + + + + + + + + + + {% if messages %} {% for message in messages %} - {{ message }} + {{ message }} {% endfor %} - {% endif %} - - Don't have an account yet? Register Now + {% endif %} + + + + + + Don't have an account yet? Register Now + {% endblock content %} \ No newline at end of file