<#@ template language="C#" HostSpecific="True" #>
<#@ output extension=".cshtml" #>
<#@ include file="..\..\ViewHead.include.t4" #>
@using C1.Web.Mvc.Fluent
<#@ parameter name="ModelTypeName" type="System.String" #>

@model <#= ViewDataTypeName #>
<#
    var param = "{";
    var paramName = "key";
    int i = 1;
    foreach (var primaryKey in PrimaryKeys)
    {
        param = param + paramName + i + "=Model." + primaryKey.Key + ",";
        i++;
    }
    param = param.Substring(0, param.Length - 1) + "}";
#>
<div>
    <h4><#= ModelTypeName #></h4>
    <hr />
    <dl class="dl-horizontal">
<#@ include file="InputView_Show.include.t4" #>
    </dl>
</div>
<p>
    @Html.ActionLink("Edit", "Edit", new <#= param#>) |
    @Html.ActionLink("Back to List", "Index")
</p>