Skip to content

Instantly share code, notes, and snippets.

@albertromkes

albertromkes/gist:5190027

Last active Dec 15, 2015
Embed
What would you like to do?
@model ArticleViewModel
<div class="middleContent">
@XPM.StartInlineEditingZone()
<h2>@XPM.Editable(m => m.Title)</h2>
<div class="intro">
@XPM.Editable(m => m.Summary)
</div>
<ul>
@foreach(var relatedLink in Model.RelatedLinks)
{
<li>
@XPM.Editable(m => m.RelatedLinks, relatedLink)
</li>
}
</ul>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.