| | | 1 | | @model PartnerCreateForm |
| | | 2 | | @{ |
| | 0 | 3 | | ViewData["Title"] = "Новый партнёр"; |
| | | 4 | | } |
| | | 5 | | |
| | | 6 | | <link rel="stylesheet" href="~/css/Studio2/OzonClients/ozon-clients-form.css" asp-append-version="true" /> |
| | | 7 | | <link rel="stylesheet" href="~/css/partner-office/partner-office.css" asp-append-version="true" /> |
| | 0 | 8 | | @await Html.PartialAsync("~/Areas/Studio2/Views/Shared/_BsxGridShell.cshtml") |
| | | 9 | | |
| | | 10 | | <div class="container-fluid py-3 bsx-surface"> |
| | | 11 | | <div class="app-section-hero app-section-hero--import"> |
| | | 12 | | <h1><i class="fas fa-user-plus me-2 text-primary"></i>Новый партнёр</h1> |
| | | 13 | | <div class="subtitle">Укажите почту партнёра: на неё придёт приглашение со ссылкой для входа. Правила и возможно |
| | | 14 | | <div class="app-section-hero__quick-links"> |
| | | 15 | | <a asp-action="Index"><i class="fas fa-arrow-left"></i>К партнёрам</a> |
| | | 16 | | </div> |
| | | 17 | | </div> |
| | | 18 | | |
| | | 19 | | <form asp-area="PartnerOffice" asp-controller="Partners" asp-action="Create" method="post" autocomplete="off" class= |
| | 0 | 20 | | @Html.AntiForgeryToken() |
| | | 21 | | <div asp-validation-summary="ModelOnly" class="alert alert-danger py-2 small"></div> |
| | | 22 | | |
| | | 23 | | <div class="oc-form-section"> |
| | | 24 | | <div class="oc-form-card-header"><h2><i class="fas fa-user me-2"></i>Учётная запись</h2></div> |
| | | 25 | | <div class="oc-form-grid"> |
| | | 26 | | <div> |
| | | 27 | | <label class="form-label">Название компании<span class="oc-required-mark">*</span></label> |
| | | 28 | | <input name="Name" value="@Model.Name" class="form-control form-control-sm" maxlength="200" required |
| | | 29 | | </div> |
| | | 30 | | <div> |
| | | 31 | | <label class="form-label">Почта партнёра<span class="oc-required-mark">*</span></label> |
| | | 32 | | <input name="Email" value="@Model.Email" type="email" class="form-control form-control-sm" maxlength |
| | | 33 | | autocomplete="off" autocapitalize="none" spellcheck="false" placeholder="name@company.ru" /> |
| | | 34 | | <div class="oc-field-hint">На эту почту уйдёт приглашение со ссылкой для входа, и по ней же партнёр |
| | | 35 | | </div> |
| | | 36 | | <div> |
| | | 37 | | <label class="form-label">Google-почта</label> |
| | | 38 | | <input name="GoogleEmail" value="@Model.GoogleEmail" type="email" class="form-control form-control-s |
| | | 39 | | <div class="oc-field-hint">Необязательно. Если указать, партнёр сможет входить через Google с этой п |
| | | 40 | | </div> |
| | | 41 | | </div> |
| | | 42 | | </div> |
| | | 43 | | |
| | | 44 | | <div class="d-flex gap-2"> |
| | | 45 | | <button type="submit" class="btn btn-primary btn-sm"><i class="fas fa-check me-1"></i>Создать</button> |
| | | 46 | | <a asp-action="Index" class="btn btn-outline-secondary btn-sm">Отмена</a> |
| | | 47 | | </div> |
| | | 48 | | </form> |
| | | 49 | | </div> |