Ignore:
Timestamp:
08/31/24 02:28:00 (3 months ago)
Author:
ElenaMoskova <elena.moskova99@…>
Branches:
main
Parents:
99d0ecc
Message:

changed to filling

changed in the filling order of start_date and date_ending

Location:
PostgreSqlDotnetCore/Views/PetCares
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • PostgreSqlDotnetCore/Views/PetCares/Create.cshtml

    r99d0ecc ra3ce071  
    3030        </div>
    3131    </div>
     32        <div class="form-group">
     33            @Html.LabelFor(model => model.start_date, htmlAttributes: new { @class = "control-label col-md-2" })
     34            <div class="col-md-10">
     35                @Html.EditorFor(model => model.start_date, new { htmlAttributes = new { @class = "form-control" } })
     36                @Html.ValidationMessageFor(model => model.start_date, "", new { @class = "text-danger" })
     37            </div>
     38        </div>
    3239    <div class="form-group">
    3340        @Html.LabelFor(model => model.dateending, htmlAttributes: new { @class = "control-label col-md-2" })
     
    3744        </div>
    3845    </div>
    39         <div class="form-group">
    40             @Html.LabelFor(model => model.start_date, htmlAttributes: new { @class = "control-label col-md-2" })
    41             <div class="col-md-10">
    42                 @Html.EditorFor(model => model.start_date, new { htmlAttributes = new { @class = "form-control" } })
    43                 @Html.ValidationMessageFor(model => model.start_date, "", new { @class = "text-danger" })
    44             </div>
    45         </div>
     46   
    4647
    4748
  • PostgreSqlDotnetCore/Views/PetCares/Delete.cshtml

    r99d0ecc ra3ce071  
    1919        </dt>
    2020        <dt>
     21            @Html.DisplayNameFor(model => model.start_date)
     22        </dt>
     23        <dt>
    2124            @Html.DisplayNameFor(model => model.dateending)
    2225        </dt>
    23         <dt>
    24             @Html.DisplayNameFor(model => model.start_date)
    25         </dt>
     26       
    2627        <dt>
    2728            @Html.DisplayNameFor(model => model.usersid)
     
    3940        </dd>
    4041        <dd>
     42            @Html.DisplayFor(model => model.start_date)
     43        </dd>
     44        <dd>
    4145            @Html.DisplayFor(model => model.dateending)
    4246        </dd>
    43         <dd>
    44             @Html.DisplayFor(model => model.start_date)
    45         </dd>
     47       
    4648        <dd>
    4749            @Html.DisplayFor(model => model.usersid)
  • PostgreSqlDotnetCore/Views/PetCares/Edit.cshtml

    r99d0ecc ra3ce071  
    3232        </div>
    3333    </div>
     34        <div class="form-group">
     35            @Html.LabelFor(model => model.start_date, htmlAttributes: new { @class = "control-label col-md-2" })
     36            <div class="col-md-10">
     37                @Html.EditorFor(model => model.start_date, new { htmlAttributes = new { @class = "form-control" } })
     38                @Html.ValidationMessageFor(model => model.start_date, "", new { @class = "text-danger" })
     39            </div>
     40        </div>
    3441
    3542    <div class="form-group">
     
    4047        </div>
    4148    </div>
    42         <div class="form-group">
    43             @Html.LabelFor(model => model.start_date, htmlAttributes: new { @class = "control-label col-md-2" })
    44             <div class="col-md-10">
    45                 @Html.EditorFor(model => model.start_date, new { htmlAttributes = new { @class = "form-control" } })
    46                 @Html.ValidationMessageFor(model => model.start_date, "", new { @class = "text-danger" })
    47             </div>
    48         </div>
     49   
    4950
    5051        <div class="form-group">
  • PostgreSqlDotnetCore/Views/PetCares/Index.cshtml

    r99d0ecc ra3ce071  
    2020        </th>
    2121        <th>
     22            @Html.DisplayNameFor(model => model.start_date)
     23        </th>
     24        <th>
    2225            @Html.DisplayNameFor(model => model.dateending)
    2326        </th>
    24         <th>
    25             @Html.DisplayNameFor(model => model.start_date)
    26         </th>
     27       
    2728        <th>
    2829            @Html.DisplayNameFor(model => model.usersid)
     
    4950            </td>
    5051            <td>
     52                @Html.DisplayFor(modelItem => item.start_date)
     53            </td>
     54            <td>
    5155                @Html.DisplayFor(modelItem => item.dateending)
    5256            </td>
    53             <td>
    54                 @Html.DisplayFor(modelItem => item.start_date)
    55             </td>
     57           
    5658            <td>
    5759                @Html.DisplayFor(modelItem => item.usersid)
Note: See TracChangeset for help on using the changeset viewer.