Show More
@@ -99,12 +99,14 b' class NeboardForm(forms.Form):' | |||
|
99 | 99 | |
|
100 | 100 | return self._html_output( |
|
101 | 101 | # TODO Do not show hidden rows in the list here |
|
102 |
normal_row='<div class="form-row" |
|
|
102 | normal_row='<div class="form-row">' | |
|
103 | '<div class="form-label">' | |
|
103 | 104 | '%(label)s' |
|
104 |
'</div> |
|
|
105 |
'<div class= |
|
|
105 | '</div>' | |
|
106 | '<div class="form-input">' | |
|
106 | 107 | '%(field)s' |
|
107 |
'</div> |
|
|
108 | '</div>' | |
|
109 | '</div>' | |
|
108 | 110 | '<div class="form-row">' |
|
109 | 111 | '%(help_text)s' |
|
110 | 112 | '</div>', |
@@ -146,20 +146,25 b' p, .br {' | |||
|
146 | 146 | |
|
147 | 147 | .form-row { |
|
148 | 148 | width: 100%; |
|
149 | display: table-row; | |
|
149 | 150 | } |
|
150 | 151 | |
|
151 | 152 | .form-label { |
|
152 | 153 | padding: .25em 1ex .25em 0; |
|
153 | 154 | vertical-align: top; |
|
155 | display: table-cell; | |
|
154 | 156 | } |
|
155 | 157 | |
|
156 | 158 | .form-input { |
|
157 | 159 | padding: .25em 0; |
|
160 | width: 100%; | |
|
161 | display: table-cell; | |
|
158 | 162 | } |
|
159 | 163 | |
|
160 | 164 | .form-errors { |
|
161 | 165 | font-weight: bolder; |
|
162 | 166 | vertical-align: middle; |
|
167 | display: table-cell; | |
|
163 | 168 | } |
|
164 | 169 | |
|
165 | 170 | .post-form input:not([name="image"]), .post-form textarea, .post-form select { |
General Comments 0
You need to be logged in to leave comments.
Login now