Last active
August 29, 2018 15:24
-
-
Save NaibafCH/bf0a588f150b19d32d72ed3f6543f6c7 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="tabs-container"> | |
<ul> | |
@foreach (var tab in Model.TabItems) | |
{ | |
<li>@tab.Title</li> | |
} | |
</ul> | |
@{ | |
int i = 0; | |
foreach (var tab in Model.TabItems) | |
{ | |
<div> | |
@Html.Sitecore().DynamicPlaceholder("tab", seed: i) | |
</div> | |
i++; | |
} | |
} | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment