Burathar
5 years ago
5 changed files with 46 additions and 5 deletions
@ -0,0 +1,27 @@
@@ -0,0 +1,27 @@
|
||||
{% extends 'base.html' %} |
||||
{% import 'bootstrap/wtf.html' as wtf %} |
||||
|
||||
{% block head %} |
||||
{{ super() }} |
||||
<link type="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-datetimepicker/4.17.47/css/bootstrap-datetimepicker.min.css"> |
||||
{% endblock %} |
||||
|
||||
{% block app_content %} |
||||
<h1>Create a new game</h1> |
||||
<div class="row"> |
||||
<div class="col-md-4"> |
||||
{{ wtf.quick_form(form) }} |
||||
</div> |
||||
</div> |
||||
{% endblock %} |
||||
|
||||
{% block scripts %} |
||||
{{ super() }} |
||||
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.18.1/moment.min.js"></script> |
||||
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-datetimepicker/4.17.47/js/bootstrap-datetimepicker.min.js"></script> |
||||
<script type="text/javascript"> |
||||
$(function () { |
||||
$('#datepick').datetimepicker(); |
||||
}); |
||||
</script> |
||||
{% endblock %} |
Loading…
Reference in new issue