You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
38 lines
1.3 KiB
38 lines
1.3 KiB
@model EditCommandModel
|
|
@{
|
|
HtmlTitle = "编辑" + ViewContext.ViewData.ModelMetadata.ModelType.GetDisplayName();
|
|
}
|
|
<div class="card">
|
|
<form action="@Url.Action(null,null)" method="post" class="form-horizontal">
|
|
@Html.AntiForgeryToken()
|
|
<div class="card-body">
|
|
@Html.EditorForModel("Input")
|
|
<div id="ajax">
|
|
@(await Html.PartialAsync("_Api", Model.Parameters))
|
|
</div>
|
|
<div class="form-group row">
|
|
<div class="col-sm-2"> </div>
|
|
<div class="col-sm-8">
|
|
@if (!DisableBackUrl)
|
|
{
|
|
if (string.IsNullOrEmpty(BackUrl))
|
|
{
|
|
BackUrl = @Url.Action("Index");
|
|
}
|
|
<a class="btn btn-default" href="@BackUrl">
|
|
<i class="fa fa-reply"></i>
|
|
返回
|
|
</a>
|
|
}
|
|
<button class="btn btn-primary" type="submit">
|
|
<i class="fa fa-floppy-o"></i>
|
|
确定
|
|
</button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</form>
|
|
</div>
|
|
@section scripts{
|
|
@(await Html.PartialAsync("_Script"))
|
|
} |