<%
for (var i=0; i < ob.maxRating; i++) {
// Important!!! In order to simulate a previous sibling selector in
// CSS and hover all the previos icons on hover, the icons are
// displayed in reverse order via flex-direction. This requires index
// calculations to be computed from the end.
const selected = ob.curRating >= ob.maxRating - i;
%>
<%= ob.parseEmojis('⭐', ob.iconClrClass) %>
<% } %>