Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
37 lines (28 sloc) 1.06 KB
@model Object
@using MvcControlsToolkit.Core.Templates
@using MvcControlsToolkit.Core.TagHelpers
@using MvcControlsToolkit.Core.Views
@using Microsoft.Extensions.Localization
@using System.Globalization
@{
var row = ViewData["Options"] as RowType;
var fatherHelpers = ViewData["ContextualizedHelpers"] as ContextualizedHelpers;
var helpers = fatherHelpers.CreateChild(ViewContext, Html, User, Component, Url, ViewData["LocalizerFactory"] as IStringLocalizerFactory);
row.ComputeWidths(true, 12);
}
@foreach (var col in row.Columns)
{
@await row.RenderColumn(Model,col, !col.ReadOnly, helpers)
@if (col.EditDetailEndRow != null)
{
for (int i = 0; i < col.EditDetailEndRow.Length; i++)
{
var css = col.GetLineBreakClass(SupportedGridSystems.Bootstrap3, true, i);
if (css != null)
{
<div class="@css"></div>
}
}
}
}
@row.RenderHiddens(helpers, Model)