AddComment
file: code/AddComment.vue 9: <div v-if="show_full"> 10: <div> 11: <input v-model="username" id="username" placeholder="Who are you?" required=1 size="42"/> 12: </div> 13: <p>Preview (you can use Markdown):</p> 14: <div class="senph-preview"> 15: <b>{{ username }} wrote:</b><br/> 16: <VueMarkdown :source="body" /> 17: </div> 18: <div class="terms"> 19: <input type="checkbox" name="terms" required=1> I agree to the following terms: senph will store your comment and your username and display it on this website. No cookies, accounts or anything else is necessary or stored. Please note that this service is currently Alpha, so things might not work and/or change in the future. 20: </div> 21: </div>
but as soon as show_full is set to true, vue updates the DOM to show the div