@if (allowEdit) { @if (url.length > 0) { } @else { } } @else { }