mirror of https://github.com/abpframework/abp.git
3 changed files with 13 additions and 35 deletions
@ -1,5 +1,5 @@ |
|||
{ |
|||
"ConnectionStrings": { |
|||
"Default": "Server=localhost;Database=CmsKit_Unified;User ID=SA;Password=12345678Aa" |
|||
"Default": "Server=(localdb)\\.\\MSSQLLocalDB;Database=CmsKit_Unified;Trusted_Connection=True" |
|||
} |
|||
} |
|||
|
|||
@ -1,28 +1,21 @@ |
|||
@model TagEditorViewComponent.TagEditorViewModel |
|||
|
|||
@using Volo.CmsKit.Admin.Web.Pages.CmsKit.Tags.Components.TagEditor |
|||
@using Volo.CmsKit.Localization |
|||
@using Microsoft.Extensions.Localization |
|||
|
|||
@inject IStringLocalizer<CmsKitResource> L |
|||
|
|||
<form class="tag-editor-form" data-entity-id="@Model.EntityId" data-entity-type="@Model.EntityType"> |
|||
<form class="tag-editor-form" data-entity-id="@Model.EntityId" data-entity-type="@Model.EntityType"> |
|||
|
|||
<div class="mb-3"> |
|||
<label class="form-label">@L["Tags"]</label> |
|||
<select multiple="multiple" name="@Html.NameFor(m => m.Tags)" id="tags"> |
|||
@foreach (var item in Model.Tags) |
|||
{ |
|||
<option value="@item.Id">@item.Name</option> |
|||
} |
|||
</select> |
|||
@*<input name="tags" value="@string.Join(',', Model.Tags.Select(s => s.Name))" class="form-control" />*@ |
|||
</div> |
|||
<div class="mb-3"> |
|||
<label class="form-label">@L["Tags"]</label> |
|||
<input name="tags" value="@string.Join(',', Model.Tags.Select(s => s.Name))" class="form-control"/> |
|||
</div> |
|||
|
|||
@if (Model.DisplaySubmitButton) |
|||
{ |
|||
<abp-row> |
|||
<abp-button type="submit" text="@L["Submit"]" /> |
|||
</abp-row> |
|||
} |
|||
</form> |
|||
@if (Model.DisplaySubmitButton) |
|||
{ |
|||
<abp-row> |
|||
<abp-button type="submit" text="@L["Submit"]" /> |
|||
</abp-row> |
|||
} |
|||
</form> |
|||
Loading…
Reference in new issue