Skip to content
Snippets Groups Projects
Commit ad5c559d authored by Lewis Liu's avatar Lewis Liu
Browse files

Tweaked dialog text

parent 820e5433
No related branches found
No related tags found
No related merge requests found
......@@ -132,12 +132,12 @@ export default class SaveQuestionModal extends Component {
if (!this.props.card.id && this.props.originalCard) {
saveOrUpdate = (
<FormField
displayName="Save or Replace?"
displayName="Replace or save as new?"
fieldName="saveType"
errors={this.state.errors}>
<ul>
<li onClick={(e) => this.onChange("saveType", "create")}><input type="radio" name="saveType" value="create" checked={this.state.details.saveType === "create"} /> Save as a new question?</li>
<li onClick={(e) => this.onChange("saveType", "overwrite")}><input type="radio" name="saveType" value="overwrite" checked={this.state.details.saveType === "overwrite"} /> Replace original question, "{this.props.originalCard.name}"</li>
<li onClick={(e) => this.onChange("saveType", "create")}><input type="radio" name="saveType" value="create" checked={this.state.details.saveType === "create"} /> Save as new question</li>
</ul>
</FormField>
);
......@@ -164,7 +164,7 @@ export default class SaveQuestionModal extends Component {
</FormField>,
<FormField
key="description"
displayName="Description (optional)"
displayName="Description"
fieldName="description"
errors={this.state.errors}>
<textarea className="Form-input full" name="description" placeholder="It's optional but oh, so helpful" value={this.state.details.description} onChange={(e) => this.onChange("description", e.target.value)} />
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment