Skip to content
Snippets Groups Projects
Commit 8b81a79d authored by Bjarke Madsen's avatar Bjarke Madsen
Browse files

Add a title and description to the survey

parent 570055d5
No related branches found
No related tags found
1 merge request!56Feature/comp 233 survey navigation
......@@ -6,6 +6,7 @@ import SurveyNavigationComponent from "./SurveyNavigationComponent";
import { VerificationStatus } from './Schema';
import "survey-core/modern.min.css";
import './survey.scss';
import { Container, Row } from "react-bootstrap";
Serializer.addProperty("itemvalue", "customDescription:text");
Serializer.addProperty("question", "hideCheckboxLabels:boolean");
......@@ -118,11 +119,20 @@ function SurveyContainerComponent({ loadFrom, saveTo = '', readonly = false }) {
}
return (
<div>
<SurveyNavigationComponent surveyModel={surveyModel} endSurvey={endSurvey} saveSurvey={saveSurvey} validatePage={validatePage}>
<SurveyComponent surveyModel={surveyModel} verificationStatus={verificationStatus} />
</SurveyNavigationComponent>
</div>
<Container className="survey-container">
<Row className="survey-content">
<h2><span className="survey-title">Compendium Survey</span><span className="survey-title-nren">{nren}</span></h2>
<span className="survey-description">How to complete this survey -
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam commodo tempus pulvinar. Aenean interdum lectus nec diam porttitor interdum.
Sed efficitur, magna ut dignissim consequat, purus lacus aliquam tortor, ut dignissim orci ligula ac ligula.</span>
</Row>
<Row>
<SurveyNavigationComponent surveyModel={surveyModel} endSurvey={endSurvey} saveSurvey={saveSurvey} validatePage={validatePage}>
<SurveyComponent surveyModel={surveyModel} verificationStatus={verificationStatus} />
</SurveyNavigationComponent>
</Row>
</Container>
);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment