mirror of
https://github.com/google/nomulus.git
synced 2025-08-03 16:32:11 +02:00
Clarify optional vs. required fields
Added a separator between the fields, and marked required fields as "required", so you can't submit without them Also - changed from base64 to base58 in for the auto-generated password. It's conceivable that someone might need to read it outloud to someone else - and not having "visually similar" characters (like O and 0) can be helpful. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=228810158
This commit is contained in:
parent
a4fca18657
commit
67d3538fdb
3 changed files with 21 additions and 14 deletions
|
@ -107,6 +107,7 @@
|
|||
{template .inputFieldValue}
|
||||
{@param name: string}
|
||||
{@param? readonly: bool}
|
||||
{@param? required: bool}
|
||||
{@param? value: ?}
|
||||
{@param? namePrefix: string}
|
||||
{@param? placeholder: string}
|
||||
|
@ -119,6 +120,7 @@
|
|||
{if isNonnull($placeholder) and not $readonly}
|
||||
placeholder="{$placeholder}"
|
||||
{/if}
|
||||
{if $required}required{/if}
|
||||
{if $readonly}readonly{/if}>
|
||||
{/template}
|
||||
|
||||
|
@ -128,6 +130,7 @@
|
|||
{@param label: string}
|
||||
{@param name: string}
|
||||
{@param? readonly: bool}
|
||||
{@param? required: bool}
|
||||
{@param? namePrefix: string}
|
||||
{@param? value: ?}
|
||||
{@param? description: string}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue