<div class="fl-heading-md fl-margin-top fl-margin-bottom-small" i18n>cPanel module configuration</div>

<form [formGroup]="productSettingsForm" layoutDirection="column">
  <mat-form-field>
    <mat-label i18n>cPanel package ID</mat-label>
    <input matInput placeholder="cPanel package ID" i18n-placeholder maxlength="128" type="number" min="1"
           formControlName="cpanel_package_id" required>
    <mat-error>{{backendErrors['cpanel_package_id'] || fieldRequiredTxt}}</mat-error>
  </mat-form-field>
  <mat-form-field>
    <mat-label i18n>cPanel group ID</mat-label>
    <input matInput placeholder="cPanel group ID" i18n-placeholder maxlength="128" type="number"
           min="1" formControlName="cpanel_group_id" required>
    <mat-error>{{backendErrors['cpanel_group_id'] || fieldRequiredTxt}}</mat-error>
  </mat-form-field>
</form>
<div class="fl-margin-top-medium">
  <p class="fl-detail" i18n><span class="fl-bold">cPanel licensing package configuration</span><br>
    The cPanel license Package ID and Group ID for licenses issued with this package are configurable here.
  </p>
  <p class="fl-detail" i18n>Make sure CPANEL_USERNAME and CPANEL_PASSWORD are set in settings.py</p>
</div>
