From 204f3d2a7a1e87b7c9bbcb00a4bdd8b2d5018ed2 Mon Sep 17 00:00:00 2001 From: wildscotsmen Date: Fri, 19 Oct 2018 16:25:09 -0400 Subject: [PATCH] Updated confidence level labels to sponsor's suggestions. --- src/components/ReportForm.js | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/src/components/ReportForm.js b/src/components/ReportForm.js index 75e5637..9858262 100644 --- a/src/components/ReportForm.js +++ b/src/components/ReportForm.js @@ -175,23 +175,23 @@ const timeTypes = [ const confidenceLevels = [ { value: '1', - label: '1 - Not at all confident', + label: '1 - Strongly disagree', }, { value: '2', - label: '2 - Slightly confident', + label: '2 - Disagree', }, { value: '3', - label: '3 - Somewhat confident', + label: '3 - Neutral', }, { value: '4', - label: '4 - Fairly confident', + label: '4 - Agree', }, { value: '5', - label: '5 - Completely confident', + label: '5 - Strongly agree', }, ]; @@ -259,7 +259,7 @@ class ReportForm extends React.Component { const sighting = { type: this.state.type, confidence: this.state.confidence, - date: this.state.year + '-' + this.state.month, + date: this.state.year + '-' + this.state.month, time: this.state.time, desc: this.state.desc, lat: this.state.lat, @@ -334,7 +334,7 @@ class ReportForm extends React.Component { className: classes.menu, }, }} - helperText="Please select confidence in sighting" + helperText="I am confident of my marten sighting" > {confidenceLevels.map(option => ( @@ -383,7 +383,6 @@ class ReportForm extends React.Component { className: classes.menu, }, }} - helperText="Please select month of sighting" > {monthTypes.map(option => ( @@ -432,7 +431,7 @@ class ReportForm extends React.Component { +