Discussions
Showing content only if not restricted
over 8 years ago by Benjamin McCann
I'd like to do something in my template like:
@if (isRestricted) {
contentA
} else {
contentB
}
How can I accomplish this?
I'd like to do something in my template like:
@if (isRestricted) {
contentA
} else {
contentB
}
How can I accomplish this?