Skip to content

Commit 010e913

Browse files
committed
fix: update color syntax in single_select blade template
1 parent ae80f23 commit 010e913

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

resources/views/md/field_types/single_select.blade.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
$toColor = $fieldData['to']['color'] ?? null;
44
@endphp
55
@if($fromValue != null)
6-
**{{ $fieldName }}** has been changed from $${\color{{{ $fromColor }}}{{ $fromValue }}$$ to $${\color{{{ $toColor }}}{{ $toValue }}$$.
6+
**{{ $fieldName }}** has been changed from $${\color{<?= $fromColor ?>}{{ $fromValue }}$$ to $${\color{<?= $toColor ?>}{{ $toValue }}$$.
77
@elseif ($toValue != null)
8-
**{{ $fieldName }}** has been removed from $${\color{{{ $fromColor }}}{{ $fromValue }}}$$.
8+
**{{ $fieldName }}** has been removed from $${\color{<?= $fromColor ?>}{{ $fromValue }}}$$.
99
@else
10-
**{{ $fieldName }}** has been set to $${\color{{{ $toColor }}}{{ $toValue }}$$.
10+
**{{ $fieldName }}** has been set to $${\color{<?= $toColor ?>}{{ $toValue }}$$.
1111
@endif

0 commit comments

Comments
 (0)