inputhoursform works with postresql db
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
{% extends "base.html" %}
|
||||
|
||||
{% block content %}
|
||||
{% load crispy_forms_tags %}
|
||||
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
@@ -15,7 +16,7 @@
|
||||
<div class="form-hours">
|
||||
<form method="post">
|
||||
{% csrf_token %}
|
||||
{{ form.as_p }}
|
||||
{{ form | crispy}}
|
||||
<button class="btn btn-lg btn-success btn-block" type="submit">Dodaj</button>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user