56 lines
1.7 KiB
Plaintext
56 lines
1.7 KiB
Plaintext
@model Yavsc.Models.Relationship.HyperLink
|
|
|
|
@{
|
|
ViewData["Title"] = @SR["Edit"];
|
|
}
|
|
|
|
<h2>@SR["Edit"]</h2>
|
|
|
|
<form asp-action="Edit">
|
|
<div class="form-horizontal">
|
|
<h4>@SR["HyperLink"]</h4>
|
|
<hr />
|
|
<dl class="dl-horizontal">
|
|
<dt>
|
|
@Html.DisplayNameFor(model => model.HRef)
|
|
</dt>
|
|
<dd>
|
|
@Html.DisplayFor(model => model.HRef)
|
|
</dd>
|
|
<dt>
|
|
@Html.DisplayNameFor(model => model.Method)
|
|
</dt>
|
|
<dd>
|
|
@Html.DisplayFor(model => model.Method)
|
|
</dd>
|
|
</dl>
|
|
<div asp-validation-summary="ValidationSummary.ModelOnly" class="text-danger"></div>
|
|
<input type="hidden" asp-for="HRef" />
|
|
<input type="hidden" asp-for="Method" />
|
|
<div class="form-group">
|
|
<label asp-for="ContentType" class="col-md-2 control-label"></label>
|
|
<div class="col-md-10">
|
|
<input asp-for="ContentType" class="form-control" />
|
|
<span asp-validation-for="ContentType" class="text-danger"></span>
|
|
</div>
|
|
</div>
|
|
<div class="form-group">
|
|
<label asp-for="Rel" class="col-md-2 control-label"></label>
|
|
<div class="col-md-10">
|
|
<input asp-for="Rel" class="form-control" />
|
|
<span asp-validation-for="Rel" class="text-danger"></span>
|
|
</div>
|
|
</div>
|
|
<div class="form-group">
|
|
<div class="col-md-offset-2 col-md-10">
|
|
<input type="submit" value="Save" class="btn btn-default" />
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</form>
|
|
|
|
<div>
|
|
<a asp-action="Index">@SR["Back to List"]</a>
|
|
</div>
|
|
|