@@ -, +, @@
---
Koha/ILL/Backend/opac-includes/create.inc | 1 +
.../Backend/shared-includes/custom_fields.inc | 16 +++++++++++++++-
.../shared-includes/form_input_helpers.inc | 12 ++++++++++--
Koha/ILL/Backend/shared-includes/shared.js | 8 ++++++--
4 files changed, 32 insertions(+), 5 deletions(-)
--- a/Koha/ILL/Backend/opac-includes/create.inc
+++ a/Koha/ILL/Backend/opac-includes/create.inc
@@ -16,6 +16,7 @@
Unhandled error
[% END %]
[% END %]
+[% SET opac = whole.value.other.opac %]
[% IF whole.stage == "form" %]
Create a manual ILL request
--- a/Koha/ILL/Backend/shared-includes/custom_fields.inc
+++ a/Koha/ILL/Backend/shared-includes/custom_fields.inc
@@ -6,7 +6,13 @@
[% i = 0 %]
[% FOREACH key IN keys %]
-
+ [% IF opac %]
+
+
+ [% ELSE %]
+
+
+ [% END %]
@@ -20,3 +26,11 @@
Add new field
+
+
--- a/Koha/ILL/Backend/shared-includes/form_input_helpers.inc
+++ a/Koha/ILL/Backend/shared-includes/form_input_helpers.inc
@@ -1,14 +1,22 @@
[% BLOCK ill_text_input_field %]
-
+ [% IF opac %]
+
+ [% ELSE %]
+
+ [% END %]
[% SET required = 0 %]
[% END %]
[% BLOCK ill_select_field %]
-