Compare commits

...

2 Commits

2 changed files with 24 additions and 0 deletions

View File

@ -17,6 +17,18 @@
<ol>
@foreach (var item in Model.Diagnoses)
{
@if (LoginManager.LogginedUser.Id != item.Diagnose.UserId)
{
@if (item.IsChecked)
{
<input type="checkbox" hidden id="diagnose-@item.Diagnose.Id" name="selectedDiagnoses" value="@item.Diagnose.Id" checked />
}
else
{
<input type="checkbox" hidden id="diagnose-@item.Diagnose.Id" name="selectedDiagnoses" value="@item.Diagnose.Id" />
}
continue;
}
<li class="mb-2 ps-1 ms-1">
@if (item.IsChecked)
{

View File

@ -14,6 +14,18 @@
<ol>
@foreach (var item in Model.Diagnoses)
{
@if (LoginManager.LogginedUser.Id != item.Diagnose.UserId)
{
@if (item.IsChecked)
{
<input type="checkbox" hidden id="diagnose-@item.Diagnose.Id" name="selectedDiagnoses" value="@item.Diagnose.Id" checked />
}
else
{
<input type="checkbox" hidden id="diagnose-@item.Diagnose.Id" name="selectedDiagnoses" value="@item.Diagnose.Id" />
}
continue;
}
<li class="mb-2 ps-1 ms-1">
@if (item.IsChecked)
{