.card .section.prescriptions { width: 40ex;}
+.card .section.therapies a.therapy {
+ display: inline-block;
+ padding: .25em .5em;
+ margin-bottom: .25em;
+ color: #000;
+ text-decoration: none;
+ background-color: #DDF;
+ border: 1px solid black;
+}
+
form.card input.delete { display: none; }
form.card input.delete + label {
display: inline-block;
| sort \
| sed -E ':X;N;$!bX; s;^[\n ]+;;; s;[\n ]+$;;; s;(\n.*\n|\n); - ;;'
)"
- printf '[a .item .therapy href="/therapies/%s" . %s %s]' \
- "${tpy%.*}/${tpy#*.}" "$(l10n therapy)" "$(HTML "${tpydates:--}")"
- done |sort -r
+ printf '[a .item .therapy href="/therapies/%s" . %s] ' \
+ "${tpy%.*}/${tpy#*.}" "$(HTML "${tpydates:--}")"
+ done |sort -n
+ printf '[a .item .therapy href="/therapies/%s/new" . +]' "${client}"
;;
*)[ $cnt -gt 0 ] && printf '[h3 %s]' "$(l10n "$item")"
shy="$(printf '\302\255')"