File tree Expand file tree Collapse file tree 4 files changed +11
-5
lines changed
LinkDotNet.Blog.Web/Shared Expand file tree Collapse file tree 4 files changed +11
-5
lines changed Original file line number Diff line number Diff line change 4
4
<div class =" modal-content" >
5
5
<div class =" modal-header" >
6
6
<h5 class =" modal-title" >@Title </h5 >
7
- <button type =" button" class =" close" data-dismiss =" modal" aria-label =" Close" @onclick =" Close" >
8
- <span aria-hidden =" true" ><i class =" fas fa-times" ></i ></span >
7
+ <button type =" button" class =" btn-close" data-dismiss =" modal" aria-label =" Close" @onclick =" Close" >
9
8
</button >
10
9
</div >
11
10
<div class =" modal-body" >
Original file line number Diff line number Diff line change 10
10
<div class =" mb-3" >
11
11
<label for =" image" >Image Url</label >
12
12
<InputText class =" form-control" id =" image" @bind-Value =" model.ImageUrl" rows =" 4" />
13
- <small id =" image" class =" form-text text-muted" >If set is used before the skill (optional)</small >
13
+ <small id =" image" class =" form-text text-muted" >If set is used before the skill (optional). 24x24 pixel
14
+ optimal size</small >
14
15
</div >
15
16
<div class =" mb-3" >
16
- <label for =" title " >Skill name </label >
17
- <InputText class =" form-control" id =" title " @bind-Value =" model.Skill " />
17
+ <label for =" capability " >Capability </label >
18
+ <InputText class =" form-control" id =" capability " @bind-Value =" model.Capability " />
18
19
</div >
19
20
<div class =" mb-3" >
20
21
<label for =" tags" >Proficiency</label >
36
37
public void Open ()
37
38
{
38
39
Dialog .Open ();
40
+ StateHasChanged ();
39
41
}
40
42
}
Original file line number Diff line number Diff line change @@ -11,5 +11,8 @@ public class AddSkillModel
11
11
12
12
[ Required ]
13
13
public string Proficiency { get ; set ; }
14
+
15
+ [ Required ]
16
+ public string Capability { get ; set ; }
14
17
}
15
18
}
Original file line number Diff line number Diff line change 2
2
{
3
3
public class Skill
4
4
{
5
+ public string Id { get ; set ; }
6
+
5
7
public string IconUrl { get ; set ; }
6
8
7
9
public string Name { get ; set ; }
You can’t perform that action at this time.
0 commit comments