Blame view

Views/CrossSection/Delete.cshtml 2.59 KB
89227bfe   Administrator   add crud for all ...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
  @model Maps.Entities.CrossSection
  
  @{
      Layout = null;
  }
  
  <!DOCTYPE html>
  
  <html>
  <head>
      <meta name="viewport" content="width=device-width" />
      <title>Delete</title>
  </head>
  <body>
  
  <h3>Are you sure you want to delete this?</h3>
  <div>
      <h4>CrossSection</h4>
      <hr />
      <dl class="dl-horizontal">
          <dt>
              @Html.DisplayNameFor(model => model.Angle)
          </dt>
          <dd>
              @Html.DisplayFor(model => model.Angle)
          </dd>
          <dt>
              @Html.DisplayNameFor(model => model.Direction)
          </dt>
          <dd>
              @Html.DisplayFor(model => model.Direction)
          </dd>
          <dt>
              @Html.DisplayNameFor(model => model.DistanceEdge)
          </dt>
          <dd>
              @Html.DisplayFor(model => model.DistanceEdge)
          </dd>
          <dt>
              @Html.DisplayNameFor(model => model.LengthSection)
          </dt>
          <dd>
              @Html.DisplayFor(model => model.LengthSection)
          </dd>
          <dt>
              @Html.DisplayNameFor(model => model.LengthSurface)
          </dt>
          <dd>
              @Html.DisplayFor(model => model.LengthSurface)
          </dd>
          <dt>
              @Html.DisplayNameFor(model => model.LocationLeft)
          </dt>
          <dd>
              @Html.DisplayFor(model => model.LocationLeft)
          </dd>
          <dt>
              @Html.DisplayNameFor(model => model.LocationRight)
          </dt>
          <dd>
              @Html.DisplayFor(model => model.LocationRight)
          </dd>
          <dt>
              @Html.DisplayNameFor(model => model.SafetyAvailability)
          </dt>
          <dd>
              @Html.DisplayFor(model => model.SafetyAvailability)
          </dd>
          <dt>
              @Html.DisplayNameFor(model => model.TubeAvailability)
          </dt>
          <dd>
              @Html.DisplayFor(model => model.TubeAvailability)
          </dd>
          <dt>
              @Html.DisplayNameFor(model => model.Width)
          </dt>
          <dd>
              @Html.DisplayFor(model => model.Width)
          </dd>
          <dt>
              @Html.DisplayNameFor(model => model.YearBuild)
          </dt>
          <dd>
              @Html.DisplayFor(model => model.YearBuild)
          </dd>
          <dt>
              @Html.DisplayNameFor(model => model.YearRepair)
          </dt>
          <dd>
              @Html.DisplayFor(model => model.YearRepair)
          </dd>
      </dl>
      
      <form asp-action="Delete">
          <div class="form-actions no-color">
              <input type="submit" value="Delete" class="btn btn-default" /> |
              <a asp-action="Index">Back to List</a>
          </div>
      </form>
  </div>
  </body>
  </html>