empty list element is created
-
Hello,
The following code is from auto template to display an actor and his/her filmography
actor_films is a bi-directional relationship field in actors pod[if actor_films]
<ul class=”filmlist”>[each actor_films]
- {@name} <br>Film Genre: <span style=”font-size:90%;font-weight:400;”>{@film_genre}</span>
-
[/each]
[/if]
The code works and brings the list and even when I call “count” in a different div it gives me the correct munber of films for that actor. But in the list for every “li” element an empty “li” is created right after th full one. So when an actor has 50 films the count says fifty but after every film title there is an empty “li” item.
What may be causing this?
Thanks
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
- The topic ‘empty list element is created’ is closed to new replies.