So i'm trying to work with the view option.
i've got a couple of button_group fields in the custom fields. The options are 1,2,3,4 and 5.
i can show the value in the view section with the following code:
{{ post.leerling_voornaam }} is bezig met {{ user.Groepskeuze.title }}
<br>
{% if post.Groepskeuze.title == 'Badje 1 - 17:30' %}
B1: Bellen blazen in het water - {{ post.prog_badje_1.b1_bellen_blazen_in_het_water.value }} <br>
B1: vallen en opstaan - {{ post.prog_badje_1.b1_vallen_opstaan.value }}
{% endif %}
Offcourse the output is the value of the button. But now comes the hard part for me, i dont want to see a number but i want this in a star rating.
How can i manage that?
The code above is just a small piece, i have a totall of 40 button groups where i need a star rating system.