Skip to content

Instantly share code, notes, and snippets.

Created March 18, 2013 19:35
What would you like to do?
@model DD4T.ContentModel.IComponent
@foreach (IFieldSet fieldset in Model.Fields["RelatedLinks"].EmbeddedValues)
<div class="cd-list">@if (fieldset.ContainsKey("Link") || fieldset.ContainsKey("ExternalLink"))
<a class="cd-link-ext" title="" href="@fieldset[" target="_blank">
@Html.SiteEditField(Model, fieldset["Image"])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment