From ff44cf5370a725cc054fce0a9a7292dfa3aa9f79 Mon Sep 17 00:00:00 2001 From: Luka van der Plas Date: Tue, 6 Aug 2024 11:42:04 +0200 Subject: [PATCH] draft agent form template --- .../agent-form/agent-form.component.html | 20 ++++++++++++++++++- .../agent-form/agent-form.module.ts | 2 +- .../src/app/data-entry/data-entry.module.ts | 3 +++ 3 files changed, 23 insertions(+), 2 deletions(-) diff --git a/frontend/src/app/data-entry/agent-form/agent-form.component.html b/frontend/src/app/data-entry/agent-form/agent-form.component.html index 42b03db7..4b68561f 100644 --- a/frontend/src/app/data-entry/agent-form/agent-form.component.html +++ b/frontend/src/app/data-entry/agent-form/agent-form.component.html @@ -1 +1,19 @@ -

agent-form works!

+ + +

+ + {{agentDescription.name}} + + ({{agentDescription.source.name}}) + +

+ +

+ {{agentDescription.description}} +

+ +

+ This form is not implemented yet! +

+
+
diff --git a/frontend/src/app/data-entry/agent-form/agent-form.module.ts b/frontend/src/app/data-entry/agent-form/agent-form.module.ts index 53a458f3..b1a96fb8 100644 --- a/frontend/src/app/data-entry/agent-form/agent-form.module.ts +++ b/frontend/src/app/data-entry/agent-form/agent-form.module.ts @@ -9,7 +9,7 @@ import { SharedModule } from '@shared/shared.module'; AgentFormComponent ], imports: [ - SharedModule + SharedModule, ], exports: [ AgentFormComponent, diff --git a/frontend/src/app/data-entry/data-entry.module.ts b/frontend/src/app/data-entry/data-entry.module.ts index da007d47..855f6130 100644 --- a/frontend/src/app/data-entry/data-entry.module.ts +++ b/frontend/src/app/data-entry/data-entry.module.ts @@ -4,6 +4,7 @@ import { SourcesComponent } from "./sources/sources.component"; import { GiftFormModule } from "./gift-form/gift-form.module"; import { LetterFormModule } from "./letter-form/letter-form.module"; import { LocationFormModule } from "./location-form/location-form.module"; +import { AgentFormModule } from "./agent-form/agent-form.module"; @NgModule({ declarations: [ @@ -11,12 +12,14 @@ import { LocationFormModule } from "./location-form/location-form.module"; ], imports: [ SharedModule, + AgentFormModule, GiftFormModule, LetterFormModule, LocationFormModule, ], exports: [ SourcesComponent, + AgentFormModule, GiftFormModule, LetterFormModule, LocationFormModule,