<!-- Accounts -->
@if(accounts.length && accountUsers.length > 0){
- <cds-checkbox formControlName="isAccountOwner"
- i18n>Select account user
- </cds-checkbox>
+ <div class="form-item">
+ <cds-checkbox formControlName="isAccountOwner"
+ i18n>Select account user
+ </cds-checkbox>
+ </div>
}
@if (bucketForm.get('isAccountOwner').value) {
<cds-textarea-label for="id"
[invalid]="!bucketForm.controls.bucket_policy.valid && (bucketForm.controls.bucket_policy.dirty)"
[invalidText]="bucketPolicyError"
+ helperText="Define access permissions for this bucket using an S3-compatible JSON policy. This controls who can access the bucket and what actions they can perform."
+ i18n-helperText
i18n>Bucket Policy
<textarea cdsTextArea
class="textarea-field"
</ng-template>
</div>
<legend class="cds--label">Choose a configuration scope</legend>
- <div>
+ <div class="form-item">
<cds-radio-group
formControlName="hasPrefix"
>
</div>
<!-- tags -->
- <div *ngIf="tieringForm.controls.hasPrefix.value">
+ <div class="form-item"
+ *ngIf="tieringForm.controls.hasPrefix.value">
<div class="form-group-header">Tags</div>
- <div>All the tags must exist in the object's tag set for the rule to apply.</div>
+ <div class="cds-mb-4">All the tags must exist in the object's tag set for the rule to apply.</div>
<ng-container formArrayName="tags"
*ngFor="let tags of tags.controls; index as i">
<ng-container [formGroupName]="i">
</div>
<legend class="cds--label">Status</legend>
- <div>
+ <div class="form-item">
<cds-radio-group
formControlName="status">
<cds-radio [value]="'Enabled'"
i18n>Disabled </cds-radio>
</cds-radio-group>
</div>
- <div class="form-item">
+ <div>
<cds-number formControlName="days"
label="Number of days"
[min]="1"