| 12345678910111213141516171819202122232425262728293031323334353637383940 |
- @using IwbZero.ToolCommon.StringModel
- @model ContractService.Views.Shared.Modals.Input
- @{
- string oBefore = "", oAfter = "", iBefore = "", iAfter = "";
- string help = Model.Help.Empty() ? "" : "<span class=\"help-block\">" + Model.Help + "</span>";
- if (!string.IsNullOrEmpty(Model.DivOutBefore))
- {
- oBefore = Model.DivOutBefore;
- }
- if (!string.IsNullOrEmpty(Model.DivOutAfter))
- {
- oAfter = Model.DivOutAfter;
- }
- if (!string.IsNullOrEmpty(Model.DivInterBefore))
- {
- iBefore = Model.DivInterBefore;
- }
- if (!string.IsNullOrEmpty(Model.DivInterAfter))
- {
- iAfter = Model.DivInterAfter;
- }
- }
- @Html.Raw(oBefore)
- <div class="@Model.DivClass" @Model.DivOther>
- @Html.Raw(Model.Label)
- @if (Model.Special.NotEmpty())
- {
- @Html.Raw(Model.Special)
- }
- <div class="@(Model.InputLayoutClass)">
- @Html.Raw(iBefore)
- @Html.Partial("Modals/_InputView", Model)
- @Html.Raw(help)
- @Html.Raw(iAfter)
- </div>
- </div>
- @Html.Raw(oAfter)
|