Skip to content

Commit

Permalink
Add dropdowns to beginning of form
Browse files Browse the repository at this point in the history
  • Loading branch information
Oddvocado committed Oct 9, 2024
1 parent 95f8252 commit d292eb6
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions src/UDS.Net.Forms/Pages/UDS4/C2.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,21 @@
95 / 995 = Physical problem 96 / 996 = Cognitive/behavior problem 97 / 997 = Other problem 98 / 998 = Verbal refusal
</p>
</div>
<div class="@rowCSS">
<div>
<label for="@Html.IdFor(m => m.C2.MODE)" class="block text-sm font-semibold leading-6 text-gray-900">Mode</label>
<enum-select for="@Model.C2.MODE" items="Html.GetEnumSelectList<FormMode>()" enabled-values="@Model.C2.AllowedFormModes" class="mt-2 block w-full rounded-md border-0 py-1.5 pl-3 pr-10 text-gray-900 ring-1 ring-inset ring-gray-300 focus:ring-2 focus:ring-indigo-600 sm:text-sm sm:leading-6"></enum-select>
<span class="mt-2 text-sm text-red-600" asp-validation-for="@Model.C2.MODE"></span>
</div>
<div>
<label for="@Html.IdFor(m => m.C2.RMMODE)" class="block text-sm font-semibold leading-6 text-gray-900">If remote, specify modality</label>
<enum-select for="@Model.C2.RMMODE" items="Html.GetEnumSelectList<RemoteModality>()" enabled-values="@Model.C2.AllowedRemoteModalities" class="mt-2 block w-full rounded-md border-0 py-1.5 pl-3 pr-10 text-gray-900 ring-1 ring-inset ring-gray-300 focus:ring-2 focus:ring-indigo-600 sm:text-sm sm:leading-6">
<option disabled selected class="disabled:opacity-75">--</option>
</enum-select>
</div>

<span class="mt-2 text-sm text-red-600" asp-validation-for="@Model.C2.RMMODE"></span>
</div>
<div>
<div class="mt-10 space-y-8 border-b border-gray-900/10 pb-12 sm:space-y-0 sm:divide-y sm:divide-gray-900/10 sm:border-t sm:pb-0">

Expand Down

0 comments on commit d292eb6

Please sign in to comment.