@if (shouldShowErrorAlert()) { @for (error of errorMessages(); track error) {
{{ error }}
} @empty {
{{ 'Forms.General.ErrorToast' | translate }}
} } @if (!isFormSent()) {

{{ 'Forms.PageHeader.Heading.Contact' | translate }}

@let needHelp = 'Forms.PageHeader.Paragraph.NeedHelp' | translate;

{{ needHelp.text }} {{ needHelp.link }}

@let cantFindAnswer = 'Forms.PageHeader.Paragraph.CantFindAnswerContact' | translate;

{{ cantFindAnswer.text }} {{ cantFindAnswer.email }}{{ cantFindAnswer.dot }}

{{ 'Forms.TopicSection.SectionTitle' | translate }}

@let isTopicInvalid = mainForm.controls.topic.touched && mainForm.controls.topic.invalid;
@if (mainForm.value.topic) { }
@if (mainForm.hasError('required', 'topic')) { {{ 'Forms.TopicSection.TopicSelect.ValidatorRequired' | translate }} }
@if (showCategoryField()) {
@let isCategoryInvalid = mainForm.controls.category.touched && mainForm.controls.category.invalid;
@if (mainForm.value.category) { }
@if (mainForm.hasError('required', 'category')) { {{ 'Forms.TopicSection.CategorySelect.ValidatorRequired' | translate }} }
}
} @else { {{ 'Forms.Buttons.GoToHomePage' | translate }} }