<% control Fields %> <% if isReadonly %> $ReadonlyEditSegment <% else %> $EditSegment <% end_if %> <% end_control %>