The situation:
And when I have a logged in user with a k_user_id, I'd like to do something like
What's the Couch way of doing *contains* in this context?
- I have (extended) users signing up for hours on a rota.
- It is possible for more than on user to sign up to an hour.
- It would be useful to highlight the hours the user has already signed up for.
- Code: Select all
<cms:editable name='people' label = 'People who have signed up' type='relation' masterpage='users/index.php'/>
And when I have a logged in user with a k_user_id, I'd like to do something like
- Code: Select all
<cms:if people *contains* k_user_id >
<cms:set divclass="signedup">
</cms:if>
What's the Couch way of doing *contains* in this context?