Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <div id="reactions">
- <label class="heading">${ ui.message("allergyui.reactionSelection") }:</label>
- <ul>
- <% reactionConcepts.each { reaction -> %>
- <li>
- <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) }" />
- <label for="reaction-${reaction.id}">${ui.format(reaction)}</label>
- <% if (reaction.id == otherNonCodedConcept.id) { %>
- <input type="text" maxlength="255" name="reactionNonCoded" ng-focus="otherReactionFocus(${reaction.id})" <% if (allergy.reactionNonCoded) { %> value="${allergy.reactionNonCoded}" <% } %>/>
- <% } %>
- </li>
- <% } %>
- </ul>
- </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement