Renaming to correct file naming conventions

This commit is contained in:
Shannon Deminick
2014-10-08 09:34:24 +11:00
parent 983d7610e4
commit f5ec2139f0

View File

@@ -0,0 +1,20 @@
@model dynamic
@using Umbraco.Web.Templates
@if (Model.editor.config.markup != null)
{
string markup = Model.editor.config.markup.ToString();
markup = markup.Replace("#value#", Model.value.ToString());
markup = markup.Replace("#style#", Model.editor.config.style.ToString());
<text>
@Html.Raw(markup)
</text>
}
else
{
<text>
<div style="@Model.editor.config.style">@Model.value</div>
</text>
}