diff --git a/boards/forms.py b/boards/forms.py --- a/boards/forms.py +++ b/boards/forms.py @@ -99,12 +99,14 @@ class NeboardForm(forms.Form): return self._html_output( # TODO Do not show hidden rows in the list here - normal_row='
' + normal_row='
' + '
' '%(label)s' - '
' - '
' + '
' + '
' '%(field)s' - '
' + '
' + '
' '
' '%(help_text)s' '
', diff --git a/boards/static/css/md/base_page.css b/boards/static/css/md/base_page.css --- a/boards/static/css/md/base_page.css +++ b/boards/static/css/md/base_page.css @@ -146,20 +146,25 @@ p, .br { .form-row { width: 100%; + display: table-row; } .form-label { padding: .25em 1ex .25em 0; vertical-align: top; + display: table-cell; } .form-input { padding: .25em 0; + width: 100%; + display: table-cell; } .form-errors { font-weight: bolder; vertical-align: middle; + display: table-cell; } .post-form input:not([name="image"]), .post-form textarea, .post-form select {