diff --git a/WoL/Models/ViewModels/AddHostViewModel.cs b/WoL/Models/ViewModels/AddHostViewModel.cs index 14e0c35..36ee6a7 100644 --- a/WoL/Models/ViewModels/AddHostViewModel.cs +++ b/WoL/Models/ViewModels/AddHostViewModel.cs @@ -12,13 +12,16 @@ public class AddHostViewModel : IValidatableObject public int Id { get; set; } [StringLength(255)] + [Display(Name = "Hostname")] public string Hostname { get; set; } [StringLength(255)] [Required] + [Display(Name = "Title")] public string Caption { get; set; } [StringLength(17, MinimumLength = 17)] + [Display(Name = "Mac address")] public string MacAddress { get; set; } public IEnumerable Validate(ValidationContext validationContext)