diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/patron-sex-label.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/patron-sex-label.inc
new file mode 100644
index 0000000000..e32ec12fd5
--- /dev/null
+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/patron-sex-label.inc
@@ -0,0 +1,8 @@
+[%# The variable sex must be passed, containing a patron's gender code (F, M, O, or blank) -%]
+[%- IF sex == 'F' -%]
+ Female
+[%- ELSIF sex == 'M' -%]
+ Male
+[%- ELSIF sex == 'O' -%]
+ [% tp('gender', 'Other') | html %]
+[%- END -%]
diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/modborrowers.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/modborrowers.tt
index 9867a8e63d..3781659fbf 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/modborrowers.tt
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/modborrowers.tt
@@ -258,15 +258,7 @@