{namespace registry.soy.registrar.host autoescape="strict"} /** * Set view for hosts. */ {template .set}

Please enter a query for a single host in the form "host/[hostname]".

{/template} /** * Item view for host. * @param? item * @param? readonly passed through to field rendering. */ {template .item}

{if isNonnull($item['host:name'])} {$item['host:name']['keyValue']} {else} New Host {/if}

{call registry.soy.forms.inputFieldRowWithValue data="all"} {param label: 'Name *' /} {param name: isNonnull($item['host:name']) ? 'host:chgName' : 'host:name' /} {param value: $item['host:name'] /} {/call} {if isNonnull($item['host:addr'])} {foreach $addr in $item['host:addr']} {if not $readonly} {/if} {call registry.soy.forms.inputFieldRowWithValue data="all"} {param label: 'Address No. ' + (index($addr) + 1) /} {param name: 'host:addr[' + index($addr) + '].value' /} {param value: $item['host:addr'][index($addr)] /} {/call} {/foreach} {/if}

Host

Addresses

{if isNonnull($item['host:name'])} {/if}
{/template} /** * Item view for host. * @param? item * @param? readonly passed through to field rendering. */ {template .update}

{$item['host:name']['keyValue']}

{call registry.soy.forms.inputFieldRowWithValue data="all"} {param label: 'Name' /} {param name: 'host:chgName' /} {param value: $item['host:name'] /} {/call}

Host

{if isNonnull($item['host:name'])} {/if}
{/template}