Skip to content

Commit

Permalink
progress commit
Browse files Browse the repository at this point in the history
  • Loading branch information
smiththay committed Jul 25, 2023
1 parent bd5700e commit 7022fa5
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion src/UDS.Net.Forms/Pages/Visits/Details.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
<ul role="list" class="grid grid-cols-1 gap-6 sm:grid-cols-2 lg:grid-cols-3 p-6 py-12">

@foreach (var form in Model.Visit.Forms)
{
{
<li class="col-span-1 divide-y divide-gray-200 rounded-lg bg-white shadow">
<div class="flex w-full items-center justify-between space-x-6 p-6">
<div class="flex-1 truncate">
Expand All @@ -76,6 +76,14 @@
{
<span class="inline-flex flex-shrink-0 items-center rounded-full bg-indigo-50 px-1.5 py-0.5 text-xs font-medium text-indigo-700 ring-1 ring-inset ring-indigo-600/20">Required</span>
}
@if (form.Language == FormLanguage.English)
{
<span class="inline-flex flex-shrink-0 items-center rounded-full bg-indigo-75 px-1.5 py-0.5 text-xs font-medium text-indigo-700 ring-1 ring-inset ring-indigo-600/20">English</span>
}
else if (form.Language == FormLanguage.Spanish)
{
<span class="inline-flex flex-shrink-0 items-center rounded-full bg-indigo-75 px-1.5 py-0.5 text-xs font-medium text-indigo-700 ring-1 ring-inset ring-indigo-600/20">Spanish</span>
}
</div>
<p class="mt-1 truncate text-sm text-gray-500">@form.Title</p>
</div>
Expand Down

0 comments on commit 7022fa5

Please sign in to comment.