- added form edit page;

- saving progress with the builder;
This commit is contained in:
Vitalii Kiiko
2024-08-20 15:23:07 +02:00
parent 74d2da78d6
commit 0a21444ee4
11 changed files with 452 additions and 11 deletions

View File

@@ -10,6 +10,7 @@ import Bandi from './pages/Bandi';
import BandoEdit from './pages/BandoEdit';
import BandoView from './pages/BandoView';
import BandoEditForms from './pages/BandoEditForms';
import BandoEditForm from './pages/BandoEditForm';
const routes = () => (
<Routes>
@@ -20,6 +21,7 @@ const routes = () => (
<Route path="/bandi/preview-evaluation/:id" element={<DefaultLayout><BandoView/></DefaultLayout>}/>
<Route path="/bandi/:id" element={<DefaultLayout><BandoEdit/></DefaultLayout>}/>
<Route path="/bandi/:id/forms" element={<DefaultLayout><BandoEditForms/></DefaultLayout>}/>
<Route path="/bandi/:id/forms/:formId" element={<DefaultLayout><BandoEditForm/></DefaultLayout>}/>
</Route>
<Route exact path="/login" element={<Login/>}/>
{/*<Route exact path="/forgot-password" element={<ForgotPassword/>}/>*/}