keep yellow glow on star after editing

This commit is contained in:
Your Name 2023-06-04 12:43:31 -04:00 committed by Henri Dickson
parent af5d13b9d9
commit 7aa37baeb8

View file

@ -50,7 +50,7 @@
<div/>
in me set star_input to the
<input/>
in me set current_value to star_input.value set star_div.style.width to (current_value * 10) + '%' set @data-tooltip to current_value or '未评分' remove .yellow from star_div end">
in me set current_value to star_input.value set star_div.style.width to (current_value * 10) + '%' set @data-tooltip to current_value or '未评分' end">
{{ mark.rating_grade|rating_star }}
<input type="hidden"
name="rating_grade"