main
Last change
on this file was 705d6f5, checked in by ardit <ardit@…>, 2 days ago |
Commiting all files of project - 20250224
|
-
Property mode
set to
100644
|
File size:
1.8 KB
|
Line | |
---|
1 | @model db_tsh.Models.Property
|
---|
2 | @{
|
---|
3 | ViewData["Title"] = "Property Policy";
|
---|
4 | }
|
---|
5 |
|
---|
6 | <h2>@ViewData["Title"]</h2>
|
---|
7 |
|
---|
8 | <form asp-action="Property" method="post">
|
---|
9 |
|
---|
10 | <div class="form-group">
|
---|
11 | <label for="startDate">Start Date</label>
|
---|
12 | <input type="date" class="form-control" id="startDate" name="startDate" required>
|
---|
13 | </div>
|
---|
14 | <div class="form-group">
|
---|
15 | <label for="numberOfDays">Number of Days</label>
|
---|
16 | <input type="number" class="form-control" id="numberOfDays" name="numberOfDays" placeholder="Enter the number of days" required>
|
---|
17 | </div>
|
---|
18 | <div class="form-group">
|
---|
19 | <label for="address">Address</label>
|
---|
20 | <input type="text" class="form-control" id="address" name="address" required />
|
---|
21 | </div>
|
---|
22 |
|
---|
23 | <div class="form-group">
|
---|
24 | <label for="floor">Floor</label>
|
---|
25 | <input type="text" class="form-control" id="floor" name="floor" required />
|
---|
26 | </div>
|
---|
27 |
|
---|
28 | <div class="form-group">
|
---|
29 | <label for="YearBuild">Year Built</label>
|
---|
30 | <input type="number" class="form-control" id="YearBuild" name="YearBuild" required />
|
---|
31 | </div>
|
---|
32 |
|
---|
33 | <div class="form-group">
|
---|
34 | <label for="security">Security</label>
|
---|
35 | <input type="text" class="form-control" id="security" name="security" required />
|
---|
36 | </div>
|
---|
37 | <div class="form-group">
|
---|
38 | <label for="package">Package</label>
|
---|
39 | <select class="form-control" id="package" name="package" required>
|
---|
40 | <option value="">Select Package</option>
|
---|
41 | @if (ViewBag.Packages != null)
|
---|
42 | {
|
---|
43 | foreach (var package in ViewBag.Packages)
|
---|
44 | {
|
---|
45 | <option value="@package.Code">@package.Title</option>
|
---|
46 | }
|
---|
47 | }
|
---|
48 | </select>
|
---|
49 | </div>
|
---|
50 |
|
---|
51 | <button type="submit" class="btn btn-primary">Save Property</button>
|
---|
52 | </form>
|
---|
Note:
See
TracBrowser
for help on using the repository browser.