Compare commits
2 Commits
aa1e0c4e99
...
099384e070
Author | SHA1 | Date | |
---|---|---|---|
099384e070 | |||
7b94e137ad |
@ -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)
|
||||
{
|
||||
|
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user