---
name: orchardcore-admin-edit-views
description: Creates and updates OrchardCore admin edit views using the ocat-* CSS class conventions. Use when creating or modifying Edit view files (*.Edit.cshtml, *.Fields.Edit.cshtml) to ensure correct layout and styling.
status: completed
---
# OrchardCore Admin Edit Views
This skill guides you through creating and updating admin edit view files using the `ocat-*` CSS class conventions required by the OrchardCore admin theme.
## The `ocat-*` CSS Class System
The `ocat-*` CSS classes provide a standardized two-column layout for admin form fields. Every form field uses a consistent structure:
- **Left column** – The field label (`ocat-label`)
- **Right column** – The input, validation message, and hint (`ocat-end`)
### Core Classes
| Class | Element | Purpose |
|-------|---------|---------|
| `ocat-wrapper` | `
` | Outer container for a form field row (replaces `mb-3`/`form-group`) |
| `ocat-label` | `