Advertisement
makanga

Untitled

Jun 15th, 2022
33
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.94 KB | None | 0 0
  1. <div id="reactions">
  2. <label class="heading">${ ui.message("allergyui.reactionSelection") }:</label>
  3. <ul>
  4. <% reactionConcepts.each { reaction -> %>
  5. <li>
  6. <input ng-model="reaction${reaction.id}" type="checkbox" id="reaction-${reaction.id}" class="allergy-reaction" name="allergyReactionConcepts" value="${reaction.id}" ng-init="reaction${reaction.id} = ${ allergyReactionConcepts.contains(reaction) }" />
  7. <label for="reaction-${reaction.id}">${ui.format(reaction)}</label>
  8. <% if (reaction.id == otherNonCodedConcept.id) { %>
  9. <input type="text" maxlength="255" name="reactionNonCoded" ng-focus="otherReactionFocus(${reaction.id})" <% if (allergy.reactionNonCoded) { %> value="${allergy.reactionNonCoded}" <% } %>/>
  10. <% } %>
  11. </li>
  12. <% } %>
  13. </ul>
  14. </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement