File tree Expand file tree Collapse file tree 3 files changed +12
-1
lines changed
src/scss/bootstrap/components Expand file tree Collapse file tree 3 files changed +12
-1
lines changed Original file line number Diff line number Diff line change 1+ $component-name : form- check- label;
2+
3+ .#{$component-name } {
4+ & .required {
5+ & ::before {
6+ color : var (--bs-danger );
7+ content : " *" / " " ;
8+ }
9+ }
10+ }
Original file line number Diff line number Diff line change 44@import " buttons" ;
55@import " carousel" ;
66@import " dropdown" ;
7+ @import " form-check" ;
78@import " hr" ;
89@import " labels" ;
910@import " modal" ;
Original file line number Diff line number Diff line change 8383 value =" 1" { if $field .value} checked =" checked" { /if }
8484 { if $field .required} required{ /if}
8585 >
86- <label class =" form-check-label" for =" field-{ $field .name} " >
86+ <label class =" form-check-label{ if $ field .required } required { / if } " for =" field-{ $field .name} " >
8787 { $field .label nofilter}
8888 </label >
8989 </div >
You can’t perform that action at this time.
0 commit comments