Skip to content

Commit 85c446b

Browse files
committed
Added text input and textarea
1 parent 3e0ecb1 commit 85c446b

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/App.vue

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,15 @@
55
<h1>Add Blog Post</h1>
66

77
<form>
8+
<div class="form-group">
9+
<label for="title">Title</label>
10+
<input type="text" class="form-control" id="title" v-model="post.title">
11+
</div>
812

13+
<div class="form-group">
14+
<label for="content">Content</label>
15+
<textarea class="form-control" id="content" v-model="post.content" cols="30" rows="10"></textarea>
16+
</div>
917
</form>
1018

1119
<hr>

0 commit comments

Comments
 (0)