Skip to content

Commit

Permalink
adds missing radio input name attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
hhund committed Feb 20, 2024
1 parent d1a1f99 commit 3c7d73a
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ <h3 th:if="${not #lists.isEmpty(task.input)}">Input</h3>
<label class="row-label" th:if="${i.label}" th:title="${i.labelTitle}">[[${i.label}]]<span class="cardinalities"></span></label>
<div class="input-group">
<div class="input-group-radio" th:id="${i.id}">
<label class="radio"><input type="radio" value="true" th:attr="${resource.status == 'draft' ? 'placeholder' : 'checked'} = ${i.booleanValue} ?: _, fhir-type = ${i.fhirType + '.true'}" th:id="${i.id + '-true'}">Yes</label>
<label class="radio"><input type="radio" value="false" th:attr="${resource.status == 'draft' ? 'placeholder' : 'checked'} = ${!i.booleanValue} ?: _, fhir-type = ${i.fhirType + '.false'}" th:id="${i.id + '-false'}">No</label>
<label class="radio"><input type="radio" value="true" th:attr="${resource.status == 'draft' ? 'placeholder' : 'checked'} = ${i.booleanValue} ?: _, fhir-type = ${i.fhirType + '.true'}" th:id="${i.id + '-true'}" th:name="${i.id}">Yes</label>
<label class="radio"><input type="radio" value="false" th:attr="${resource.status == 'draft' ? 'placeholder' : 'checked'} = ${!i.booleanValue} ?: _, fhir-type = ${i.fhirType + '.false'}" th:id="${i.id + '-false'}" th:name="${i.id}">No</label>
</div>
<svg class="insert" height="22" width="22" viewBox="0 -960 960 960" th:disabled="${i.booleanValue} == null" th:if="${resource.status == 'draft'}"><title>Insert Placeholder Value</title><path d="M140-160q-24 0-42-18t-18-42v-169h60v169h680v-520H140v171H80v-171q0-24 18-42t42-18h680q24 0 42 18t18 42v520q0 24-18 42t-42 18H140Zm319-143-43-43 103-103H80v-60h439L416-612l43-43 176 176-176 176Z"></path></svg>
<svg class="copy" height="22" width="22" viewBox="0 -960 960 960" th:if="${resource.status != 'draft'}"><title>Copy to Clipboard</title><path d="M362.308-260.001q-30.308 0-51.307-21-21-21-21-51.308v-455.382q0-30.308 21-51.308 20.999-21 51.307-21h335.383q30.307 0 51.307 21 21 21 21 51.308v455.382q0 30.308-21 51.308t-51.307 21H362.308Zm0-59.999h335.383q4.615 0 8.462-3.846 3.846-3.847 3.846-8.463v-455.382q0-4.616-3.846-8.463-3.847-3.846-8.462-3.846H362.308q-4.616 0-8.462 3.846-3.847 3.847-3.847 8.463v455.382q0 4.616 3.847 8.463 3.846 3.846 8.462 3.846ZM222.309-120.003q-30.307 0-51.307-21-21-21-21-51.307v-515.381h59.999v515.381q0 4.616 3.846 8.462 3.847 3.847 8.462 3.847h395.382v59.998H222.309ZM349.999-320V-800-320Z"/></svg>
Expand Down

0 comments on commit 3c7d73a

Please sign in to comment.