diff --git a/app/pods/components/question-editor/template.hbs b/app/pods/components/question-editor/template.hbs index 697afc6..4265bb1 100644 --- a/app/pods/components/question-editor/template.hbs +++ b/app/pods/components/question-editor/template.hbs @@ -11,7 +11,7 @@
- {{input type="text" class="input-text" value=question.title}} + {{input type="text" class="input-text" placeholder="This is a new question, enter title here" value=question.title}}
{{markdown-to-html question.title}} @@ -23,7 +23,7 @@
- {{textarea type="text" class="input-text py-4" value=question.description}} + {{textarea type="text" class="input-text py-4" placeholder="Edit this description" value=question.description}}
{{markdown-to-html question.description}} diff --git a/app/pods/questions/new/route.js b/app/pods/questions/new/route.js index c22f378..a13ef21 100644 --- a/app/pods/questions/new/route.js +++ b/app/pods/questions/new/route.js @@ -5,8 +5,8 @@ export default Route.extend({ currentUser: service(), model () { return this.store.createRecord('question', { - title: 'This is a new question, enter title here', - description: 'Edit this description', + title: '', + description: '', user: this.get('currentUser.user') }) },