9490718c04
- Introduce preview panel to edit form for rendering subject, HTML, and text with sample values. - Add support for real-time updates using JavaScript. - Include supporting styles for preview panel in admin CSS. - Add optional `Scripts` section rendering to `_EditorLayout`. - Create `.env.Development` for better development environment configuration.
18 lines
542 B
Plaintext
18 lines
542 B
Plaintext
@{
|
|
Layout = "~/Views/Shared/_Layout.cshtml";
|
|
}
|
|
<div class="editor-wrapper">
|
|
<div class="card editor-card">
|
|
<div class="card-header editor-card-header-bar">
|
|
<i class="bi bi-pencil-square me-2"></i>@ViewData["EditorTitle"]
|
|
</div>
|
|
<div class="card-body editor-card-body">
|
|
@RenderBody()
|
|
</div>
|
|
<div class="card-footer editor-card-footer">
|
|
@RenderSection("FormActions", required: false)
|
|
</div>
|
|
</div>
|
|
</div>
|
|
@RenderSection("Scripts", required: false)
|