- // TODO: we don't want exactly the same display (-date +solution)
- <my-problem-summary v-bind:prob="newProblem"></my-problem-summary>
- <button @click="sendNewProblem()" class="center-btn">Send</button>
+ <label for="modal-newproblem" class="modal-close"></label>
+ <my-problem-summary v-bind:prob="newProblem" v-bind:preview="true">
+ </my-problem-summary>
+ <div class="col-sm-12 col-md-6 col-lg-3 col-lg-offset-3 topspace">
+ <button @click="sendNewProblem()">Send</button>
+ <button @click="newProblem.stage='nothing'">Cancel</button>
+ </div>