I'm building a hotel website. I want to display a person image representing each room's capacity. Owner will set room capacity in admin as a single integer. I then want to use that integer to display multiple person images up to the capacity. How can I achieve this please?
I tried this but it doesn't work:
I tried this but it doesn't work:
- Code: Select all
<cms:repeat count='<cms:show room_one_capacity />' startcount='1' >
<i class="fas fa-user"></i></cms:repeat>