Fixing some widget display parts

--HG--
branch : dev
This commit is contained in:
Nathan Heskew
2010-10-19 21:52:22 -07:00
parent 53d0c6ac74
commit 445f0f955a
3 changed files with 4 additions and 4 deletions

View File

@@ -28,7 +28,7 @@ namespace Orchard.Blogs.Drivers {
}
protected override DriverResult Editor(BlogArchivesPart part, dynamic shapeHelper) {
return ContentShape("Parts_Blogs_BlogArchives_Editor",
return ContentShape("Parts_Blogs_BlogArchives_Edit",
() => shapeHelper.EditorTemplate(TemplateName: "Parts/Blogs.BlogArchives", Model: part, Prefix: Prefix));
}

View File

@@ -11,8 +11,8 @@
<!-- widget and edit shapes just get default placement -->
<!-- edit "shapes" -->
<Place Parts_Blogs_Blog_Fields="Primary:2"/>
<Place Parts_Blogs_BlogArchives_Editor="Primary:5"/>
<Place Parts_Blogs_RecentBlogPosts_Editor="Primary:5"/>
<Place Parts_Blogs_BlogArchives_Edit="Primary:5"/>
<Place Parts_Blogs_RecentBlogPosts_Edit="Primary:5"/>
<!-- widgets -->
<Place Parts_Blogs_BlogArchives="Content"/>
<Place Parts_Blogs_RecentBlogPosts="Content"/>

View File

@@ -3,7 +3,7 @@
@Display(Model.Primary)
</div>
<div class="secondary">
@Display(Model.secondary)
@Display(Model.Secondary)
<fieldset>
<input class="button primaryAction" type="submit" name="submit.Save" value="@T("Save")"/>
</fieldset>