File tree Expand file tree Collapse file tree 1 file changed +12
-2
lines changed
app/components/blacklight_range_limit Expand file tree Collapse file tree 1 file changed +12
-2
lines changed Original file line number Diff line number Diff line change 5
5
< div class ="d-flex justify-content-between align-items-end ">
6
6
< div class ="d-flex flex-column mr-1 me-1 ">
7
7
<%= label_tag ( begin_input_name , t ( "blacklight.range_limit.range_begin_short" ) , class : 'text-muted small mb-1' ) %>
8
- <%= number_field_tag ( begin_input_name , begin_value_default , class : "form-control form-control-sm range_begin" ) %>
8
+ <%= number_field_tag ( begin_input_name ,
9
+ begin_value_default ,
10
+ min : range_config [ :min_value ] ,
11
+ max : range_config [ :max_value ] ,
12
+ class : "form-control form-control-sm range_begin" )
13
+ %>
9
14
</ div >
10
15
11
16
< div class ="d-flex flex-column ml-1 ms-1 ">
12
17
<%= label_tag ( end_input_name , t ( "blacklight.range_limit.range_end_short" ) , class : 'text-muted small mb-1' ) %>
13
- <%= number_field_tag ( end_input_name , end_value_default , class : "form-control form-control-sm range_end" ) %>
18
+ <%= number_field_tag ( end_input_name ,
19
+ end_value_default ,
20
+ min : range_config [ :min_value ] ,
21
+ max : range_config [ :max_value ] ,
22
+ class : "form-control form-control-sm range_end" )
23
+ %>
14
24
</ div >
15
25
</ div >
16
26
< div class ="d-flex justify-content-end mt-2 ">
You can’t perform that action at this time.
0 commit comments