- <form role="form" (ngSubmit)="signup()" [formGroup]="form">
- <div class="form-group">
- <label for="username">Username</label>
- <input
- type="text" id="username" placeholder="Username"
- formControlName="username" [ngClass]="{ 'input-error': formErrors['username'] }"
- >
- <div *ngIf="formErrors.username" class="form-error">
- {{ formErrors.username }}
+ <div class="d-flex justify-content-left flex-wrap">
+ <form role="form" (ngSubmit)="signup()" [formGroup]="form">
+ <div class="form-group">
+ <label for="username" i18n>Username</label>
+
+ <div class="input-group">
+ <input
+ type="text" id="username" i18n-placeholder placeholder="Example: jane_doe"
+ formControlName="username" [ngClass]="{ 'input-error': formErrors['username'] }"
+ >
+ <div class="input-group-append">
+ <span class="input-group-text">@{{ instanceHost }}</span>
+ </div>
+ </div>
+
+ <div *ngIf="formErrors.username" class="form-error">
+ {{ formErrors.username }}
+ </div>