Skip to content

Commit

Permalink
HTML-842: Add Appointments Tag
Browse files Browse the repository at this point in the history
  • Loading branch information
mogoodrich committed May 24, 2024
1 parent f3e379b commit 1df138d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
import org.openmrs.ProgramWorkflowState;
import org.openmrs.Relationship;
import org.openmrs.api.context.Context;
import org.openmrs.module.appointments.model.Appointment;
import org.openmrs.module.htmlformentry.property.ExitFromCareProperty;
import org.openmrs.util.OpenmrsUtil;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ public String generateHtml(FormEntryContext context) {

return checkboxWidgets.stream().map(checkboxWidget -> {
return checkboxWidget.generateHtml(context);
}).map((html) -> "<div" + (clazz != null ? " class=\"" + clazz + "\" " : "") + "/>" + html + "</div>")
}).map((html) -> "<span" + (clazz != null ? " class=\"" + clazz + "\" " : "") + ">" + html + "</span>")
.collect(Collectors.joining());
}

Expand Down

0 comments on commit 1df138d

Please sign in to comment.