mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-11-28 17:32:44 +08:00
17 lines
595 B
Plaintext
17 lines
595 B
Plaintext
@model Orchard.Blogs.ViewModels.BlogArchivesViewModel
|
|
|
|
@using Orchard.Blogs.Models;
|
|
@using Orchard.Core.Routable.Models;
|
|
@using Orchard.ContentManagement;
|
|
|
|
<fieldset>
|
|
<div>
|
|
@Html.LabelFor(m => m.Slug, T("For Blog"))
|
|
<select id="@Html.FieldIdFor(m => m.Slug)" name="@Html.FieldNameFor(m => m.Slug)">
|
|
@foreach(BlogPart blog in Model.Blogs) {
|
|
@Html.SelectOption(Model.Slug, blog.As<RoutePart>().Slug, blog.Name)
|
|
}
|
|
</select>
|
|
<span class="hint">@T("Select which blog you want to display the archives for")</span>
|
|
</div>
|
|
</fieldset> |