Update create registrar form

Changed the order of the create registrar form fields and updated the delegate email and country code labels to be more intuitive

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=236354256
This commit is contained in:
Weimin Yu 2019-03-01 12:09:13 -08:00
parent dfad79759e
commit 88e4573543
4 changed files with 16 additions and 16 deletions

View file

@ -158,6 +158,16 @@
<form name="item" class="{css('item')}" method="post" action="/registrar-create"> <form name="item" class="{css('item')}" method="post" action="/registrar-create">
<table> <table>
{call registry.soy.forms.inputFieldRowWithValue}
{param label: 'Name' /}
{param name: 'name' /}
{param value: $name /}
{param placeholder: 'required' /}
{param description kind="text"}
Name of the registrar.
{/param}
{param required: true /}
{/call}
{call registry.soy.forms.inputFieldRowWithValue} {call registry.soy.forms.inputFieldRowWithValue}
{param label: 'Client ID' /} {param label: 'Client ID' /}
{param name: 'clientId' /} {param name: 'clientId' /}
@ -169,12 +179,13 @@
{param required: true /} {param required: true /}
{/call} {/call}
{call registry.soy.forms.inputFieldRowWithValue} {call registry.soy.forms.inputFieldRowWithValue}
{param label: 'Name' /} {param label: 'Registrar Console Username' /}
{param name: 'name' /} {param name: 'consoleUserEmail' /}
{param value: $name /} {param value: $consoleUserEmail /}
{param placeholder: 'required' /} {param placeholder: 'required' /}
{param description kind="text"} {param description kind="text"}
Name of the registrar. The email we created for the registrar.
Will be granted web-console access to the registrar.
{/param} {/param}
{param required: true /} {param required: true /}
{/call} {/call}
@ -233,17 +244,6 @@
{/param} {/param}
{param required: true /} {param required: true /}
{/call} {/call}
{call registry.soy.forms.inputFieldRowWithValue}
{param label: 'Delegated email' /}
{param name: 'consoleUserEmail' /}
{param value: $consoleUserEmail /}
{param placeholder: 'required' /}
{param description kind="text"}
The email we created for the registrar.
Will be granted web-console access to the registrar.
{/param}
{param required: true /}
{/call}
<tr> <tr>
<td colspan="2"> <td colspan="2">
<hr> <hr>
@ -289,7 +289,7 @@
{param placeholder: 'optional' /} {param placeholder: 'optional' /}
{/call} {/call}
{call registry.soy.forms.inputFieldRowWithValue} {call registry.soy.forms.inputFieldRowWithValue}
{param label: 'Country Code' /} {param label: 'Country Code (e.g. US)' /}
{param name: 'countryCode' /} {param name: 'countryCode' /}
{param value: $countryCode /} {param value: $countryCode /}
{param placeholder: 'required' /} {param placeholder: 'required' /}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 88 KiB

After

Width:  |  Height:  |  Size: 90 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 84 KiB

After

Width:  |  Height:  |  Size: 86 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 89 KiB

After

Width:  |  Height:  |  Size: 90 KiB

Before After
Before After