generated from EyeSeeTea/dhis2-app-skeleton
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge forms in one page for create and another for edit and change pa…
…ths in Router
- Loading branch information
Showing
10 changed files
with
54 additions
and
81 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
import React from "react"; | ||
|
||
import { Layout } from "../../components/layout/Layout"; | ||
import { FormPage } from "../../components/form/FormPage"; | ||
|
||
export const CreateFormPage: React.FC = React.memo(() => { | ||
return ( | ||
<Layout title="Form Title" subtitle="Form Subtitle" hideSideBarOptions> | ||
<FormPage title="title" subtitle="subtitle" onSave={() => {}}> | ||
<div>CreateFormPage</div> | ||
</FormPage> | ||
</Layout> | ||
); | ||
}); |
16 changes: 0 additions & 16 deletions
16
src/webapp/pages/create-incident-action-plan/CreateIncidentActionPlanPage.tsx
This file was deleted.
Oops, something went wrong.
16 changes: 0 additions & 16 deletions
16
src/webapp/pages/create-risk-assessment/CreateRiskAssessmentPage.tsx
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
import React from "react"; | ||
|
||
import { Layout } from "../../components/layout/Layout"; | ||
import { FormPage } from "../../components/form/FormPage"; | ||
|
||
export const EditFormPage: React.FC = React.memo(() => { | ||
return ( | ||
<Layout title="Form Title" subtitle="Form Subtitle" hideSideBarOptions> | ||
<FormPage title="title" subtitle="subtitle" onSave={() => {}}> | ||
<div>EditFormPage</div> | ||
</FormPage> | ||
</Layout> | ||
); | ||
}); |