s11e147 line breaks

This commit is contained in:
Tyrel Souza 2018-04-18 23:45:52 -04:00
parent a8f88cebcd
commit 6da09206b6

View File

@ -37,6 +37,7 @@
<label for="message">Message</label><br> <label for="message">Message</label><br>
<!-- Interpolation between <textarea>{{ test }}</textarea> doesn't work!--> <!-- Interpolation between <textarea>{{ test }}</textarea> doesn't work!-->
<textarea <textarea
v-model="message"
id="message" id="message"
rows="5" rows="5"
class="form-control"></textarea> class="form-control"></textarea>
@ -107,7 +108,7 @@
<p>Mail: {{userData.email}}</p> <p>Mail: {{userData.email}}</p>
<p>Password:{{userData.password}}</p> <p>Password:{{userData.password}}</p>
<p>Age: {{userData.age}}</p> <p>Age: {{userData.age}}</p>
<p>Message: </p> <p style="white-space: pre">Message: {{message}}</p>
<p><strong>Send Mail?</strong></p> <p><strong>Send Mail?</strong></p>
<ul> <ul>
<li></li> <li></li>
@ -130,8 +131,9 @@
email: '', email: '',
password: '', password: '',
age: 30 age: 30
},
message: 'A new hope',
}
}; };
} }
} }