Scaffolding MVC Controller with views, using Entity Framework generates Delete view with error
Open
area-scaffolding
- Dominant language
- C#
- Stars
- 818
- Forks
- 260
- Avg merge
- 1d 8h
- Merged PRs (30d)
- 10
Description
Used the following model for Scaffolding MVC Controller with views, using Entity Framework:
```
public class CategoryModel
{
public int Id { get; set; }
public string Name { get; set; }
public int? ParentId { get; set; }
public CategoryModel Parent { get; set; }
}
```
As a results there is an extra "class" attribute inside the closing tag in Delete.cshtml:

Contributor guide
Assessment
This issue has not been assessed yet.