source: PostgreSqlDotnetCore/Views/Jobs/Edit.cshtml@ 2aea0fd

main
Last change on this file since 2aea0fd was 2aea0fd, checked in by ElenaMoskova <elena.moskova99@…>, 2 months ago

init commit Elena

  • Property mode set to 100644
File size: 1.9 KB
Line 
1@model PostgreSqlDotnetCore.Models.JobsClass
2
3@{
4 ViewBag.Title = "Edit";
5}
6
7<h2>Edit</h2>
8
9
10@using (Html.BeginForm())
11{
12 @Html.AntiForgeryToken()
13
14 <div class="form-horizontal">
15 <h4>JobsClass</h4>
16 <hr />
17 @Html.ValidationSummary(true, "", new { @class = "text-danger" })
18 @Html.HiddenFor(model => model.id)
19
20 <div class="form-group">
21 @Html.LabelFor(model => model.description, htmlAttributes: new { @class = "control-label col-md-2" })
22 <div class="col-md-10">
23 @Html.EditorFor(model => model.description, new { htmlAttributes = new { @class = "form-control" } })
24 @Html.ValidationMessageFor(model => model.description, "", new { @class = "text-danger" })
25 </div>
26 </div>
27
28 <div class="form-group">
29 @Html.LabelFor(model => model.predictedsalery, htmlAttributes: new { @class = "control-label col-md-2" })
30 <div class="col-md-10">
31 @Html.EditorFor(model => model.predictedsalery, new { htmlAttributes = new { @class = "form-control" } })
32 @Html.ValidationMessageFor(model => model.predictedsalery, "", new { @class = "text-danger" })
33 </div>
34 </div>
35
36 <div class="form-group">
37 @Html.LabelFor(model => model.vetcentersid, htmlAttributes: new { @class = "control-label col-md-2" })
38 <div class="col-md-10">
39 @Html.EditorFor(model => model.vetcentersid, new { htmlAttributes = new { @class = "form-control" } })
40 @Html.ValidationMessageFor(model => model.vetcentersid, "", new { @class = "text-danger" })
41 </div>
42 </div>
43
44
45 <div class="form-group">
46 <div class="col-md-offset-2 col-md-10">
47 <br />
48 <input type="submit" value="Save" class="btn btn-dark" />
49 </div>
50 </div>
51 </div>
52}
53
54<div>
55 @Html.ActionLink("Back to List", "Index")
56</div>
Note: See TracBrowser for help on using the repository browser.