adds bug a description
This commit is contained in:
@ -22,6 +22,12 @@
|
||||
<dd>
|
||||
@Html.DisplayFor(model => model.Status)
|
||||
</dd>
|
||||
<dt>
|
||||
@Html.DisplayNameFor(model => model.Description)
|
||||
</dt>
|
||||
<dd>
|
||||
@Html.DisplayFor(model => model.Description)
|
||||
</dd>
|
||||
</dl>
|
||||
</div>
|
||||
<p>
|
||||
|
@ -26,6 +26,13 @@
|
||||
<span asp-validation-for="Status" class="text-danger" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label asp-for="Description" class="col-md-2 control-label"></label>
|
||||
<div class="col-md-10">
|
||||
<textarea asp-for="Description" class="form-control"></textarea>
|
||||
<span asp-validation-for="Description" class="text-danger" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<div class="col-md-offset-2 col-md-10">
|
||||
<input type="submit" value="Save" class="btn btn-default" />
|
||||
|
@ -11,23 +11,35 @@
|
||||
</p>
|
||||
<table class="table">
|
||||
<tr>
|
||||
<td>
|
||||
@Html.DisplayNameFor(model => model.Id)
|
||||
</td>
|
||||
<th>
|
||||
@Html.DisplayNameFor(model => model.FeatureId)
|
||||
</th>
|
||||
<th>
|
||||
@Html.DisplayNameFor(model => model.Status)
|
||||
</th>
|
||||
<th>
|
||||
@Html.DisplayNameFor(model => model.Description)
|
||||
</th>
|
||||
<th></th>
|
||||
</tr>
|
||||
|
||||
@foreach (var item in Model) {
|
||||
<tr>
|
||||
<td>
|
||||
@Html.DisplayFor(model => item.Id)
|
||||
</td>
|
||||
<td>
|
||||
@Html.DisplayFor(modelItem => item.FeatureId)
|
||||
</td>
|
||||
<td>
|
||||
@Html.DisplayFor(modelItem => item.Status)
|
||||
</td>
|
||||
<td>
|
||||
@Html.DisplayFor(modelItem => item.Description)
|
||||
</td>
|
||||
<td>
|
||||
<a asp-action="Edit" asp-route-id="@item.Id">Edit</a> |
|
||||
<a asp-action="Details" asp-route-id="@item.Id">Details</a> |
|
||||
|
@ -29,7 +29,7 @@
|
||||
<div class="form-group">
|
||||
<label asp-for="Status" class="col-md-2 control-label"></label>
|
||||
<div class="col-md-10">
|
||||
<select asp-for="Status" class="form-control"></select>
|
||||
<select asp-for="Status" class="form-control" asp-items="@ViewBag.Statuses"></select>
|
||||
<span asp-validation-for="Status" class="text-danger" />
|
||||
</div>
|
||||
</div>
|
||||
|
@ -10,7 +10,10 @@
|
||||
<a asp-action="Create">Create New</a>
|
||||
</p>
|
||||
<table class="table">
|
||||
<tr>
|
||||
<tr>
|
||||
<th>
|
||||
@Html.DisplayNameFor(model => model.Id)
|
||||
</th>
|
||||
<th>
|
||||
@Html.DisplayNameFor(model => model.Description)
|
||||
</th>
|
||||
@ -25,6 +28,9 @@
|
||||
|
||||
@foreach (var item in Model) {
|
||||
<tr>
|
||||
<td>
|
||||
@Html.DisplayFor(modelItem => item.Id)
|
||||
</td>
|
||||
<td>
|
||||
@Html.DisplayFor(modelItem => item.Description)
|
||||
</td>
|
||||
|
@ -21,6 +21,8 @@
|
||||
<li><a asp-controller="Notifications" asp-action="Index">Notifications</a></li>
|
||||
<li><a asp-controller="SIRENExceptions" asp-action="Index">Excéptions au numéro de SIREN</a></li>
|
||||
<li><a asp-controller="Client" asp-action="Index">Accès API</a></li>
|
||||
<li><a asp-controller="Bug" asp-action="Index">Bugs</a></li>
|
||||
<li><a asp-controller="Feature" asp-action="Index">Features</a></li>
|
||||
</ul>
|
||||
</li>}
|
||||
|
||||
|
Reference in New Issue
Block a user