File tree Expand file tree Collapse file tree 1 file changed +5
-7
lines changed
LinkDotNet.Blog.Web/Shared/Admin Expand file tree Collapse file tree 1 file changed +5
-7
lines changed Original file line number Diff line number Diff line change 8
8
<EditForm Model =" @_model" OnValidSubmit =" OnValidBlogPostCreatedAsync" >
9
9
<DataAnnotationsValidator />
10
10
<ValidationSummary />
11
- <div class =" form-group " >
11
+ <div class =" mb-3 " >
12
12
<label for =" title" >Title</label >
13
13
<InputText class =" form-control" id =" title" @bind-Value =" _model.Title" />
14
14
</div >
15
- <div class =" form-group " >
15
+ <div class =" mb-3 " >
16
16
<label for =" short" >Short Description</label >
17
17
<InputTextArea class =" form-control" id =" short" @bind-Value =" _model.ShortDescription" rows =" 4" />
18
18
</div >
19
- <div class =" form-group " >
19
+ <div class =" mb-3 " >
20
20
<label for =" content" >Content</label >
21
21
<InputTextArea class =" form-control" id =" content" @bind-Value =" _model.Content" rows =" 10" />
22
22
@* <small id="content" class="form-text text-muted">Drag and drop images to upload and insert picture.</small> *@
23
23
</div >
24
- <div class =" form-group " >
24
+ <div class =" mb-3 " >
25
25
<label for =" preview" >Preview-Url</label >
26
26
<InputText class =" form-control" id =" preview" @bind-Value =" _model.PreviewImageUrl" />
27
27
</div >
30
30
<label class =" form-check-label" for =" published" >Publish</label ><br />
31
31
<small id =" published" class =" form-text text-muted" >If this blog post is only draft uncheck the box</small >
32
32
</div >
33
- <div class =" form-group " >
33
+ <div class =" mb-3 " >
34
34
<label for =" tags" >Tags</label >
35
35
<InputText class =" form-control" id =" tags" @bind-Value =" _model.Tags" />
36
36
</div >
37
-
38
37
<button class =" btn btn-primary" type =" submit" >Submit</button >
39
-
40
38
</EditForm >
41
39
</div >
42
40
<div class =" preview" >
You can’t perform that action at this time.
0 commit comments