From f439204bf9ab0137d6c9acfb7a15938d127e051e Mon Sep 17 00:00:00 2001 From: Sander Roosendaal Date: Fri, 7 Dec 2018 17:06:57 +0100 Subject: [PATCH] javascript around race form --- .../templates/indoorvirtualeventcreate.html | 37 ++++++++++++++++++- rowers/templates/virtualeventcreate.html | 35 ++++++++++++++++++ static/css/rowsandall2.css | 4 ++ 3 files changed, 75 insertions(+), 1 deletion(-) diff --git a/rowers/templates/indoorvirtualeventcreate.html b/rowers/templates/indoorvirtualeventcreate.html index 1492d6aa..63095c09 100644 --- a/rowers/templates/indoorvirtualeventcreate.html +++ b/rowers/templates/indoorvirtualeventcreate.html @@ -26,7 +26,7 @@

{% endif %}

- +
{{ form.as_table }}

@@ -64,6 +64,41 @@ {% endblock %} {% block scripts %} + + {% endblock %} {% block sidebar %} diff --git a/rowers/templates/virtualeventcreate.html b/rowers/templates/virtualeventcreate.html index 131ce9d1..05fc0a03 100644 --- a/rowers/templates/virtualeventcreate.html +++ b/rowers/templates/virtualeventcreate.html @@ -56,6 +56,41 @@ {% endblock %} {% block scripts %} + + {% endblock %} {% block sidebar %} diff --git a/static/css/rowsandall2.css b/static/css/rowsandall2.css index 4838a54d..388f56eb 100644 --- a/static/css/rowsandall2.css +++ b/static/css/rowsandall2.css @@ -1086,3 +1086,7 @@ a.wh:hover { background: silver; cursor: pointer; } + +table.djangoform tbody > tr > th { + vertical-align: top; +}