File tree Expand file tree Collapse file tree 2 files changed +17
-9
lines changed Expand file tree Collapse file tree 2 files changed +17
-9
lines changed Original file line number Diff line number Diff line change @@ -1228,3 +1228,11 @@ h6 {
1228
1228
font-size : 13px ;
1229
1229
color : # 012970 ;
1230
1230
}
1231
+
1232
+ # id_order_by {
1233
+ border-top-left-radius : 0 ;
1234
+ border-bottom-left-radius : 0 ;
1235
+ }
1236
+ # order_by_label {
1237
+ margin-bottom : 1rem ;
1238
+ }
Original file line number Diff line number Diff line change @@ -276,15 +276,10 @@ <h5 class="modal-title">Time Label</h5>
276
276
< div class ="col-8 text-left-center ">
277
277
</ div >
278
278
< div class ="col-4 no-padding ">
279
- < div class ="input-group mb-3 ">
280
- < label class ="input-group-text form-label " for ="id_order_by "> Sort By</ label >
281
- {{ form.order_by|as_crispy_field }}
282
- </ div >
283
- < script >
284
- document . getElementById ( 'id_order_by' ) . addEventListener ( 'change' , function ( ) {
285
- document . getElementById ( 'filters-form' ) . submit ( ) ;
286
- } ) ;
287
- </ script >
279
+ < div class ="input-group mb-3 ">
280
+ < label class ="input-group-text form-label " for ="id_order_by " id ="order_by_label "> Sort By</ label >
281
+ {{ form.order_by|as_crispy_field }}
282
+ </ div >
288
283
</ div >
289
284
</ div >
290
285
< div class ="row ">
@@ -311,4 +306,9 @@ <h5 class="modal-title">Time Label</h5>
311
306
</ div >
312
307
</ div >
313
308
</ form >
309
+ < script >
310
+ document . getElementById ( 'id_order_by' ) . addEventListener ( 'change' , function ( ) {
311
+ document . getElementById ( 'filters-form' ) . submit ( ) ;
312
+ } ) ;
313
+ </ script >
314
314
{% endblock %}
You can’t perform that action at this time.
0 commit comments