novalidate>
<div i18n="form title"
- class="form-header">{{ action | titlecase }} {{ resource | upperFirst }}
+ class="form-header cds--type-heading-04 cds-mb-5">{{ action | titlecase }} {{ resource | lowercase }}
</div>
+ <h4 class="cds--type-heading-03 cds-mb-4" i18n>Account details</h4>
+
<!-- Account Name -->
<div class="form-item">
- <cds-text-label label="Account Name"
+ <cds-text-label label="Account name"
for="acc_name"
- cdRequiredField="Account Name"
[invalid]="!accountForm.controls.name.valid && accountForm.controls.name.dirty"
[invalidText]="accountIdError"
- i18n>Account Name
+ helperText="Name must start and end in alphanumeric characters (3 to 63). Characters allowed: lowercase, numbers and nonconsecutive dots and hyphens."
+ i18n-helperText
+ i18n>Account name
<input cdsText
type="text"
- placeholder="Enter account name"
+ placeholder="for example, team-storage-01"
id="acc_name"
name="acc_name"
+ cdValidate
+ #accName="cdValidate"
+ [invalid]="accName.isInvalid"
formControlName="name"/>
</cds-text-label>
<ng-template #accountIdError>