mirror of https://github.com/abpframework/abp.git
3 changed files with 13 additions and 35 deletions
@ -1,5 +1,5 @@ |
|||||
{ |
{ |
||||
"ConnectionStrings": { |
"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 |
@model TagEditorViewComponent.TagEditorViewModel |
||||
|
|
||||
@using Volo.CmsKit.Admin.Web.Pages.CmsKit.Tags.Components.TagEditor |
@using Volo.CmsKit.Admin.Web.Pages.CmsKit.Tags.Components.TagEditor |
||||
@using Volo.CmsKit.Localization |
@using Volo.CmsKit.Localization |
||||
@using Microsoft.Extensions.Localization |
@using Microsoft.Extensions.Localization |
||||
|
|
||||
@inject IStringLocalizer<CmsKitResource> L |
@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"> |
<div class="mb-3"> |
||||
<label class="form-label">@L["Tags"]</label> |
<label class="form-label">@L["Tags"]</label> |
||||
<select multiple="multiple" name="@Html.NameFor(m => m.Tags)" id="tags"> |
<input name="tags" value="@string.Join(',', Model.Tags.Select(s => s.Name))" class="form-control"/> |
||||
@foreach (var item in Model.Tags) |
</div> |
||||
{ |
|
||||
<option value="@item.Id">@item.Name</option> |
|
||||
} |
|
||||
</select> |
|
||||
@*<input name="tags" value="@string.Join(',', Model.Tags.Select(s => s.Name))" class="form-control" />*@ |
|
||||
</div> |
|
||||
|
|
||||
@if (Model.DisplaySubmitButton) |
@if (Model.DisplaySubmitButton) |
||||
{ |
{ |
||||
<abp-row> |
<abp-row> |
||||
<abp-button type="submit" text="@L["Submit"]" /> |
<abp-button type="submit" text="@L["Submit"]" /> |
||||
</abp-row> |
</abp-row> |
||||
} |
} |
||||
</form> |
</form> |
||||
Loading…
Reference in new issue