| | | 1 | | @model OzonDomains.Models.EmailRoutingRule |
| | | 2 | | |
| | | 3 | | @{ |
| | 0 | 4 | | ViewData["Title"] = "Новое правило импорта"; |
| | | 5 | | } |
| | | 6 | | |
| | | 7 | | <link rel="stylesheet" href="~/css/Studio2/EmailRouting/email-routing-results-index.css" asp-append-version="true" /> |
| | | 8 | | |
| | 0 | 9 | | @await Html.PartialAsync("_BsxGridShell") |
| | | 10 | | |
| | | 11 | | <div class="container err-page py-3 er-rules-form bsx-surface"> |
| | | 12 | | <div class="err-hero app-section-hero app-section-hero--import d-flex flex-wrap align-items-center gap-3"> |
| | | 13 | | <a asp-action="Index" class="btn btn-outline-secondary btn-sm"><i class="bi bi-arrow-left"></i> К правилам</a> |
| | | 14 | | <div> |
| | | 15 | | <h1><i class="bi bi-plus-circle text-primary me-2"></i>Новое правило импорта</h1> |
| | | 16 | | <div class="subtitle">Настройте автоматическое распознавание письма поставщика.</div> |
| | | 17 | | </div> |
| | | 18 | | </div> |
| | | 19 | | |
| | | 20 | | <form asp-action="Create" method="post"> |
| | 0 | 21 | | @Html.AntiForgeryToken() |
| | | 22 | | <partial name="_RuleForm" model="Model" /> |
| | | 23 | | <div class="mt-4 d-flex gap-2"> |
| | | 24 | | <button type="submit" class="btn btn-primary"> |
| | | 25 | | <i class="bi bi-check-lg"></i> Создать правило |
| | | 26 | | </button> |
| | | 27 | | <a asp-action="Index" class="btn btn-outline-secondary">Отмена</a> |
| | | 28 | | </div> |
| | | 29 | | </form> |
| | | 30 | | </div> |
| | | 31 | | |
| | | 32 | | @section Scripts { |
| | 0 | 33 | | @{await Html.RenderPartialAsync("_ValidationScriptsPartial");} |
| | | 34 | | } |