|
@@ -29,7 +29,7 @@ const QuestionnaireCompletionModal = (props: ModalProps): JSX.Element => {
|
|
|
<div className="text-center">
|
|
<div className="text-center">
|
|
|
<h2 className="my-4">{t('questionnaire.title')}</h2>
|
|
<h2 className="my-4">{t('questionnaire.title')}</h2>
|
|
|
<p className="mb-1">{t('questionnaire.successfully_submit')}</p>
|
|
<p className="mb-1">{t('questionnaire.successfully_submit')}</p>
|
|
|
- <p>{t('questionnaire.thanks_for_answer')}</p>
|
|
|
|
|
|
|
+ <p>{t('questionnaire.thanks_for_answering')}</p>
|
|
|
</div>
|
|
</div>
|
|
|
<div className="text-center my-3">
|
|
<div className="text-center my-3">
|
|
|
<span style={{ cursor: 'pointer', textDecoration: 'underline' }} onClick={onClose}>{t('Close')}</span>
|
|
<span style={{ cursor: 'pointer', textDecoration: 'underline' }} onClick={onClose}>{t('Close')}</span>
|
|
@@ -55,16 +55,16 @@ const ProactiveQuestionnaireModal = (props: ModalProps): JSX.Element => {
|
|
|
const {
|
|
const {
|
|
|
satisfaction: { value: satisfaction },
|
|
satisfaction: { value: satisfaction },
|
|
|
lengthOfExperience: { value: lengthOfExperience },
|
|
lengthOfExperience: { value: lengthOfExperience },
|
|
|
- position: { value: position },
|
|
|
|
|
occupation: { value: occupation },
|
|
occupation: { value: occupation },
|
|
|
|
|
+ position: { value: position },
|
|
|
commentText: { value: commentText },
|
|
commentText: { value: commentText },
|
|
|
} = formData;
|
|
} = formData;
|
|
|
|
|
|
|
|
const sendValues = {
|
|
const sendValues = {
|
|
|
satisfaction: Number(satisfaction),
|
|
satisfaction: Number(satisfaction),
|
|
|
lengthOfExperience,
|
|
lengthOfExperience,
|
|
|
- position,
|
|
|
|
|
occupation,
|
|
occupation,
|
|
|
|
|
+ position,
|
|
|
commentText,
|
|
commentText,
|
|
|
};
|
|
};
|
|
|
|
|
|
|
@@ -104,7 +104,7 @@ const ProactiveQuestionnaireModal = (props: ModalProps): JSX.Element => {
|
|
|
</select>
|
|
</select>
|
|
|
</div>
|
|
</div>
|
|
|
<div className="form-group row mt-3">
|
|
<div className="form-group row mt-3">
|
|
|
- <label className="col-sm-5 col-form-label" htmlFor="lengthOfExperience">{t('questionnaire.history_of_growi_use')}</label>
|
|
|
|
|
|
|
+ <label className="col-sm-5 col-form-label" htmlFor="lengthOfExperience">{t('questionnaire.history_of_growi_usage')}</label>
|
|
|
<select
|
|
<select
|
|
|
name="lengthOfExperience"
|
|
name="lengthOfExperience"
|
|
|
id="lengthOfExperience"
|
|
id="lengthOfExperience"
|
|
@@ -119,14 +119,14 @@ const ProactiveQuestionnaireModal = (props: ModalProps): JSX.Element => {
|
|
|
<option>{t('questionnaire.length_of_experience.less_than_one_month')}</option>
|
|
<option>{t('questionnaire.length_of_experience.less_than_one_month')}</option>
|
|
|
</select>
|
|
</select>
|
|
|
</div>
|
|
</div>
|
|
|
- <div className="form-group row mt-3">
|
|
|
|
|
- <label className="col-sm-5 col-form-label" htmlFor="position">{t('questionnaire.position')}</label>
|
|
|
|
|
- <input className="col-sm-7 form-control" type="text" name="position" id="position" />
|
|
|
|
|
- </div>
|
|
|
|
|
<div className="form-group row mt-3">
|
|
<div className="form-group row mt-3">
|
|
|
<label className="col-sm-5 col-form-label" htmlFor="occupation">{t('questionnaire.occupation')}</label>
|
|
<label className="col-sm-5 col-form-label" htmlFor="occupation">{t('questionnaire.occupation')}</label>
|
|
|
<input className="col-sm-7 form-control" type="text" name="occupation" id="occupation" />
|
|
<input className="col-sm-7 form-control" type="text" name="occupation" id="occupation" />
|
|
|
</div>
|
|
</div>
|
|
|
|
|
+ <div className="form-group row mt-3">
|
|
|
|
|
+ <label className="col-sm-5 col-form-label" htmlFor="position">{t('questionnaire.position')}</label>
|
|
|
|
|
+ <input className="col-sm-7 form-control" type="text" name="position" id="position" />
|
|
|
|
|
+ </div>
|
|
|
<div className="form-group row mt-3">
|
|
<div className="form-group row mt-3">
|
|
|
<label className="col-sm-5 col-form-label" htmlFor="commentText">{t('questionnaire.comment_on_growi')}</label>
|
|
<label className="col-sm-5 col-form-label" htmlFor="commentText">{t('questionnaire.comment_on_growi')}</label>
|
|
|
<textarea className="col-sm-7 form-control" name="commentText" id="commentText" rows={5} />
|
|
<textarea className="col-sm-7 form-control" name="commentText" id="commentText" rows={5} />
|