mirror of
https://github.com/google/nomulus
synced 2026-08-21 22:56:19 +00:00
Handle both ways the UI passes in booleans (#500)
* Handle both ways the UI passes in booleans * fix the JS test * Quote the value
This commit is contained in:
@@ -256,10 +256,13 @@
|
||||
{param placeholder: $placeholder /}
|
||||
{/call}
|
||||
{/if}
|
||||
{if isNonnull($item['allowedToSetRegistryLockPassword'])}
|
||||
<input type="hidden" name="allowedToSetRegistryLockPassword"
|
||||
value="{$item['allowedToSetRegistryLockPassword']}">
|
||||
{/if}
|
||||
<input type="hidden" name="{$namePrefix}allowedToSetRegistryLockPassword"
|
||||
{if isNonnull($item['allowedToSetRegistryLockPassword'])}
|
||||
value="{$item['allowedToSetRegistryLockPassword']}"
|
||||
{else}
|
||||
value="false"
|
||||
{/if}
|
||||
>
|
||||
<tr>
|
||||
<td colspan="2">
|
||||
<hr>
|
||||
|
||||
Reference in New Issue
Block a user