@if (!isCreateCustomEventCategory) {
} @if (isCreateCustomEventCategory) {
Event name @if (f['name'].invalid && (f['name'].dirty || !f['name'].untouched)) {
@if (f['name'].hasError('required')) {

Name is required

} @if (f['name'].hasError('maxlength')) {

Maximum 150 characters allowed

}
}
Points Event
Participation Event
} @if (!isCreateCustomEventCategory) { @if (customEventCategories.length > 0) {

Name | Point event | Participation event | Action
--- | --- | --- | ---
@for (customEventCategory of customEventCategories | paginate: { id: 'customEventTable', itemsPerPage: 5, currentPage: pageNumber}; track customEventCategory.id) {
{{customEventCategory.name}} |  |  |
}

} @else {
No saved categories
} }