Bugzilla – Attachment 193016 Details for
Bug 41839
Update MARC framework pages to use grid layout for forms
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 41839: Update MARC framework pages to use grid layout for forms
Bug-41839-Update-MARC-framework-pages-to-use-grid-.patch (text/plain), 39.19 KB, created by
Owen Leonard
on 2026-02-12 17:21:50 UTC
(
hide
)
Description:
Bug 41839: Update MARC framework pages to use grid layout for forms
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2026-02-12 17:21:50 UTC
Size:
39.19 KB
patch
obsolete
>From f10ab0f9cff329fce0a956a5da321a26b90270dc Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Thu, 12 Feb 2026 10:18:45 -0500 >Subject: [PATCH] Bug 41839: Update MARC framework pages to use grid layout for > forms > >This patch updates MARC framework administration templates with >new markup and CSS for layout forms using CSS grids. > >To test, apply the patch rebuild the staff interface CSS. > >Check the following pages, confirming that the "New" and "Edit" versions >of the form look correct in each case: > >- Administration -> MARC bibliographic framework -> New framework >- Administration -> MARC bibliographic framework -> MARC structure -> > New tag >- Administration -> MARC bibliographic framework -> MARC structure -> > Actions -> Edit subfields. > >Sponsored-by: Athens County Public Libraries >--- > .../prog/en/modules/admin/biblio_framework.tt | 78 +++++--- > .../modules/admin/marc_subfields_structure.tt | 178 ++++++++++++------ > .../prog/en/modules/admin/marctagstructure.tt | 116 ++++++++---- > 3 files changed, 250 insertions(+), 122 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/biblio_framework.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/biblio_framework.tt >index b4a85fe0217..dde46647c76 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/biblio_framework.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/biblio_framework.tt >@@ -115,27 +115,38 @@ > <form action="/cgi-bin/koha/admin/biblio_framework.pl" name="Aform" method="post" class="validated"> > [% INCLUDE 'csrf-token.inc' %] > <input type="hidden" name="op" value="cud-add_validate" /> >- <fieldset class="rows"> >- <ol> >- [% IF framework %] >- <li> >- <span class="label">Framework code: </span> >- <input type="hidden" id="frameworkcode" name="frameworkcode" value="[% framework.frameworkcode | html %]" />[% framework.frameworkcode | html %] >+ <fieldset class="fg"> >+ [% IF framework %] >+ <div class="fg-row input-sm"> >+ <div class="fg-label"> >+ <div class="label">Framework code: </div> >+ </div> >+ <div class="fg-text"> >+ [% framework.frameworkcode | html %] >+ <input type="hidden" id="frameworkcode" name="frameworkcode" value="[% framework.frameworkcode | html %]" /> > <input type="hidden" name="is_a_modif" value="1" /> >- </li> >- [% ELSE %] >- <li> >+ </div> >+ </div> >+ [% ELSE %] >+ <div class="fg-row input-sm"> >+ <div class="fg-label"> > <label for="frameworkcode" class="required">Framework code: </label> >- <input type="text" id="frameworkcode" name="frameworkcode" size="4" maxlength="4" required="required" class="required focus" /> >- <span class="required">Required</span> >- </li> >- [% END %] >- <li> >+ </div> >+ <div class="fg-input"> >+ <input type="text" id="frameworkcode" name="frameworkcode" maxlength="4" required="required" class="required focus" /> >+ </div> >+ <div class="required">Required</div> >+ </div> >+ [% END %] >+ <div class="fg-row"> >+ <div class="fg-label"> > <label for="description" class="required">Description: </label> >- <input type="text" name="frameworktext" id="description" size="40" maxlength="80" value="[% framework.frameworktext | html %]" required="required" class="required" /> >- <span class="required">Required</span> >- </li> >- </ol> >+ </div> >+ <div class="fg-input"> >+ <input type="text" name="frameworktext" id="description" maxlength="80" value="[% framework.frameworktext | html %]" required="required" class="required" /> >+ </div> >+ <div class="required">Required</div> >+ </div> > </fieldset> > <fieldset class="action"> > <input type="submit" value="Submit" class="btn btn-primary" /> >@@ -267,9 +278,18 @@ > <form action="/cgi-bin/koha/admin/import_export_framework.pl" name="form_i_default" id="form_i_default" method="post" enctype="multipart/form-data" class="form_import"> > [% INCLUDE 'csrf-token.inc' %] > <div class="modal-body"> >- <input type="hidden" name="frameworkcode" value="default" /> >- <input type="hidden" name="op" value="cud-import" /> >- <p><label for="file_import_default">Upload file:</label> <input type="file" name="file_import_default" id="file_import_default" class="input_import" /></p> >+ <fieldset class="fg"> >+ <input type="hidden" name="frameworkcode" value="default" /> >+ <input type="hidden" name="op" value="cud-import" /> >+ <div class="fg-row"> >+ <div class="fg-label"> >+ <label for="file_import_default">Upload file:</label> >+ </div> >+ <div class="fg-input"> >+ <input type="file" name="file_import_default" id="file_import_default" class="form-control input_import" /> >+ </div> >+ </div> >+ </fieldset> > <div id="importing_default" style="display:none" class="importing"><img src="[% interface | html %]/[% theme | html %]/img/spinner-small.gif" alt="" /><span class="importing_msg"></span></div> > </div> > <!-- /.modal-body --> >@@ -415,12 +435,16 @@ > > > [% INCLUDE 'csrf-token.inc' %] > <div class="modal-body"> >- <input type="hidden" name="frameworkcode" value="[% loo.frameworkcode | html %]" /> >- <input type="hidden" name="op" value="cud-import" /> >- <p >- ><label for="file_import_[% loo.frameworkcode | html %]">Upload file:</label> >- <input type="file" name="file_import_[% loo.frameworkcode | html %]" id="file_import_[% loo.frameworkcode | html %]" class="input_import" >- /></p> >+ <fieldset class="fg"> >+ <input type="hidden" name="frameworkcode" value="[% loo.frameworkcode | html %]" /> >+ <input type="hidden" name="op" value="cud-import" /> >+ <div class="fg-label"> >+ <label for="file_import_[% loo.frameworkcode | html %]">Upload file:</label> >+ </div> >+ <div class="fg-input"> >+ <input type="file" name="file_import_[% loo.frameworkcode | html %]" id="file_import_[% loo.frameworkcode | html %]" class="form-control input_import" /> >+ </div> >+ </fieldset> > <div id="importing_[% loo.frameworkcode | html %]" style="display:none" class="importing" > ><img src="[% interface | html %]/[% theme | html %]/img/spinner-small.gif" alt="" /><span class="importing_msg"></span > ></div> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/marc_subfields_structure.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/marc_subfields_structure.tt >index 039d5096d27..62bdb549c40 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/marc_subfields_structure.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/marc_subfields_structure.tt >@@ -133,55 +133,85 @@ > [% WRAPPER tab_panel tabname=outputsubfield %] > <input type="hidden" name="tab_id" value="[% loo.row | html %]" /> > <div id="basic[%- outputsubfield | html -%]" class="constraints"> >- <fieldset class="rows"> >+ <fieldset class="fg"> > <legend>Basic constraints</legend> >- <ol> >- [% IF ( loo.subfieldcode == 0 || loo.subfieldcode ) %] >- <li> >+ [% IF ( loo.subfieldcode == 0 || loo.subfieldcode ) %] >+ <div class="fg-row input-sm"> >+ <div class="fg-label"> > <span class="label">Subfield code:</span> >+ </div> >+ <div class="fg-text"> > [% loo.subfieldcode | html %] > <input type="hidden" id="tagsubfield[% loo.row | html %]" name="tagsubfield" value="[% loo.subfieldcode | html %]" /> >- </li> >- [% ELSE %] >- <li> >+ </div> >+ </div> >+ [% ELSE %] >+ <div class="fg-row input-sm"> >+ <div class="fg-label"> > <label for="tagsubfield[% loo.row | html %]">Subfield code:</label> >- <input type="text" id="tagsubfield[% loo.row | html %]" name="tagsubfield" value="[% loo.subfieldcode | html %]" /> >- </li> >- [% END %] >- <li> >+ </div> >+ <div class="fg-input"> >+ <input type="text" id="tagsubfield[% loo.row | html %]" maxlength="1" name="tagsubfield" value="[% loo.subfieldcode | html %]" /> >+ </div> >+ </div> >+ [% END %] >+ <div class="fg-row"> >+ <div class="fg-label"> > <label for="liblibrarian[% loo.row | html %]">Description in staff interface: </label> >+ </div> >+ <div class="fg-input"> > <input id="liblibrarian[% loo.row | html %]" type="text" name="liblibrarian_[% loo.row | html %]" value="[% loo.liblibrarian | html_entity %]" size="40" maxlength="255" /> >- </li> >- <li> >+ </div> >+ </div> >+ <div class="fg-row"> >+ <div class="fg-label"> > <label for="libopac[% loo.row | html %]">Description in OPAC: </label> >+ </div> >+ <div class="fg-input"> > <input type="text" id="libopac[% loo.row | html %]" name="libopac_[% loo.row | html %]" value="[% loo.libopac | html_entity %]" size="40" maxlength="255" /> >- </li> >- <li> >- <label for="repeatable[% loo.row | html %]">Repeatable: </label> >+ </div> >+ </div> >+ <div class="fg-row input-checkbox"> >+ <div class="fg-label"> >+ <label for="repeatable[% loo.row | html %]">Repeatable</label> >+ </div> >+ <div class="fg-input"> > [% IF loo.repeatable %] > <input type="checkbox" id="repeatable[% loo.row | html %]" name="repeatable_[% loo.row | html %]" checked="checked" value="1" /> > [% ELSE %] > <input type="checkbox" id="repeatable[% loo.row | html %]" name="repeatable_[% loo.row | html %]" value="1" /> > [% END %] >- </li> >- <li> >- <label for="mandatory[% loo.row | html %]">Mandatory: </label> >+ </div> >+ </div> >+ <div class="fg-row input-checkbox"> >+ <div class="fg-label"> >+ <label for="mandatory[% loo.row | html %]">Mandatory</label> >+ </div> >+ <div class="fg-input"> > [% IF loo.mandatory %] > <input type="checkbox" id="mandatory[% loo.row | html %]" name="mandatory_[% loo.row | html %]" checked="checked" value="1" /> > [% ELSE %] > <input type="checkbox" id="mandatory[% loo.row | html %]" name="mandatory_[% loo.row | html %]" value="1" /> > [% END %] >- </li> >- <li> >- <label for="important[% loo.row | html %]">Important: </label> >+ </div> >+ </div> >+ <div class="fg-row input-checkbox"> >+ <div class="fg-label"> >+ <label for="important[% loo.row | html %]">Important</label> >+ </div> >+ <div class="fg-input"> > [% IF loo.important %] > <input type="checkbox" id="important[% loo.row | html %]" name="important_[% loo.row | html %]" checked="checked" value="1" /> > [% ELSE %] > <input type="checkbox" id="important[% loo.row | html %]" name="important_[% loo.row | html %]" value="1" /> > [% END %] >- </li> >- <li >- ><label for="tab[% loo.row | html %]">Managed in tab: </label> >+ </div> >+ </div> >+ <div class="fg-row input-sm"> >+ <div class="fg-label"> >+ <label for="tab[% loo.row | html %]">Managed in tab: </label> >+ </div> >+ <div class="fg-input"> > <select name="tab_[% loo.row | html %]" tabindex="" id="tab[% loo.row | html %]"> > [%- IF ( loo.tab == -1 ) -%] > <option value="-1" selected="selected">ignore</option> >@@ -201,35 +231,45 @@ > <option value="10">items (10)</option> > [%- END -%] > </select> >- <div class="hint" >- ><i class="fa-solid fa-triangle-exclamation"></i> <span>Ignore means that the subfield does not display in the record editor and that its value, if any, is deleted from the record</span></div >- > >- </li> >- </ol> >+ </div> >+ <div class="hint"> >+ <i class="fa-solid fa-triangle-exclamation"></i> <span>Ignore means that the subfield does not display in the record editor and that its value, if any, is deleted from the record</span> >+ </div> >+ </div> > </fieldset> > <!-- /.rows --> > </div> > <!-- /#basic[%- PROCESS outputsubfield subfieldanchor = subfieldcode -%] --> > > <div id="advanced[%- outputsubfield | html -%]" class="constraints"> >- <fieldset class="rows"> >+ <fieldset class="fg"> > <legend>Advanced constraints</legend> >- <ol> >- <li> >+ <div class="fg-row"> >+ <div class="fg-label"> > <label for="defaultvalue[% loo.row | html %]">Default value:</label> >+ </div> >+ <div class="fg-input"> > <input type="text" name="defaultvalue_[% loo.row | html %]" id="defaultvalue[% loo.row | html %]" value="[% loo.defaultvalue | html %]" /> >- </li> >- <li> >+ </div> >+ </div> >+ <div class="fg-row input-sm"> >+ <div class="fg-label"> > <label for="maxlength[% loo.row | html %]">Max length:</label> >+ </div> >+ <div class="fg-input"> > <input type="text" id="maxlength[% loo.row | html %]" name="maxlength_[% loo.row | html %]" value="[% loo.maxlength | html %]" size="4" /> >- </li> >- <li> >+ </div> >+ </div> >+ <div class="fg-row"> >+ <div class="fg-label"> > [% IF loo.hidden_protected %] > <input type="hidden" id="hidden-[% loo.row | html %]" name="hidden_[% loo.row | html %]" value="[% loo.hidden | html %]" data-koha-protected="1" /> > [% ELSE %] > <input type="hidden" id="hidden-[% loo.row | html %]" name="hidden_[% loo.row | html %]" value="[% loo.hidden | html %]" /> > [% END %] > <label for="hidden[% loo.row | html %]">Visibility: </label> >+ </div> >+ <div class="fg-input"> > <input type="checkbox" id="hidden_opac_[% loo.row | html %]" class="inclusive_[% loo.row | html %]" name="hidden_opac_[% loo.row | html %]" /> > <label for="hidden_opac_[% loo.row | html %]" style="float: none;">OPAC</label> > <input type="checkbox" id="hidden_intranet_[% loo.row | html %]" class="inclusive_[% loo.row | html %]" name="hidden_intranet_[% loo.row | html %]" /> >@@ -240,41 +280,55 @@ > <label for="hidden_collapsed_[% loo.row | html %]" style="float: none;">Collapsed</label> > <input type="checkbox" id="hidden_flagged_[% loo.row | html %]" name="flagged_[% loo.row | html %]" /> > <label for="hidden_flagged_[% loo.row | html %]" style="float: none;">Flagged</label> >- </li> >- <li> >- <label for="isurl[% loo.row | html %]">Is a URL:</label> >+ </div> >+ </div> >+ <div class="fg-row input-checkbox"> >+ <div class="fg-label"> >+ <label for="isurl[% loo.row | html %]">Is a URL</label> >+ </div> >+ <div class="fg-input"> > [% IF loo.isurl %] > <input type="checkbox" id="isurl[% loo.row | html %]" name="isurl_[% loo.row | html %]" checked="checked" value="1" /> > [% ELSE %] > <input type="checkbox" id="isurl[% loo.row | html %]" name="isurl_[% loo.row | html %]" value="1" /> > [% END %] >- <span class="hint">If checked, it means that the subfield is a URL and can be clicked</span> >- </li> >- <li> >+ </div> >+ <div class="hint">If checked, it means that the subfield is a URL and can be clicked</div> >+ </div> >+ <div class="fg-row"> >+ <div class="fg-label"> > <label for="link[% loo.row | html %]">Link:</label> >+ </div> >+ <div class="fg-input"> > <input type="text" id="link[% loo.row | html %]" name="link_[% loo.row | html %]" value="[% loo.link | html %]" size="10" maxlength="80" /> >- <div class="hint">An index name, e.g. title or Local-Number</div> >- </li> >- <li> >+ </div> >+ <div class="hint">An index name, e.g. title or Local-Number</div> >+ </div> >+ <div class="fg-row"> >+ <div class="fg-label"> > <label for="kohafield[% loo.row | html %]">Koha link:</label> >+ </div> >+ <div class="fg-text"> > <!-- This select should be DISABLED; value is submitted by the following hidden input --> > [% loo.kohafield | html %] > <!-- Do NOT remove this next hidden input! We need it to save kohafield. --> > <input type="hidden" name="kohafield_[% loo.row | html %]" value="[% loo.kohafield | html %]" /> >- <div class="hint">Edit in 'Koha to MARC mapping'</div> >- </li> >- </ol> >+ <a href="/cgi-bin/koha/admin/koha2marclinks.pl"> <i class="fa fa-pencil" aria-hidden="true"></i> Edit in Koha to MARC mapping </a> >+ </div> >+ </div> > </fieldset> > <!-- /.rows --> > </div> > <!-- /#advanced[%- PROCESS outputsubfield subfieldanchor = subfieldcode -%] --> > > <div id="oth[%- outputsubfield | html -%]" class="constraints"> >- <fieldset class="rows"> >+ <fieldset class="fg"> > <legend>Other options (choose one)</legend> >- <ol> >- <li> >+ <div class="fg-row"> >+ <div class="fg-label"> > <label for="authorised_value[% loo.row | html %]">Authorized value:</label> >+ </div> >+ <div class="fg-input"> > <select name="authorised_value_[% loo.row | html %]" id="authorised_value[% loo.row | html %]"> > <option value=""></option> > [% FOREACH value IN loo.authorised_values %] >@@ -285,9 +339,13 @@ > [% END %] > [% END %] > </select> >- </li> >- <li> >+ </div> >+ </div> >+ <div class="fg-row"> >+ <div class="fg-label"> > <label for="authtypecode[% loo.row | html %]">Thesaurus:</label> >+ </div> >+ <div class="fg-input"> > <select name="authtypecode_[% loo.row | html %]" id="authtypecode[% loo.row | html %]"> > [% FOREACH value IN loo.authtypes %] > [% IF ( value == loo.authtypecode ) %] >@@ -297,9 +355,13 @@ > [% END %] > [% END %] > </select> >- </li> >- <li> >+ </div> >+ </div> >+ <div class="fg-row"> >+ <div class="fg-label"> > <label for="value_builder[% loo.row | html %]">Plugin:</label> >+ </div> >+ <div class="fg-input"> > <select name="value_builder_[% loo.row | html %]" id="value_builder[% loo.row | html %]"> > [% FOREACH value IN loo.value_builders %] > [% IF ( value == loo.value_builder ) %] >@@ -309,8 +371,8 @@ > [% END %] > [% END %] > </select> >- </li> >- </ol> >+ </div> >+ </div> > </fieldset> > <!-- /.rows --> > </div> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/marctagstructure.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/marctagstructure.tt >index 12c7bb6fe8f..4896e134de8 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/marctagstructure.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/marctagstructure.tt >@@ -115,7 +115,7 @@ > <form action="/cgi-bin/koha/admin/marctagstructure.pl" name="Aform" method="post" class="validated"> > [% INCLUDE 'csrf-token.inc' %] > >- <fieldset class="rows"> >+ <fieldset class="fg"> > <legend> > [% IF heading_add_tag_p %] > <span>New tag</span> >@@ -126,62 +126,104 @@ > </legend> > <input type="hidden" name="op" value="cud-add_validate" /> > <input type="hidden" name="frameworkcode" value="[% framework.frameworkcode | html %]" /> >- <ol> >- <li> >- [% IF ( heading_modify_tag_p ) %] >- <input type="hidden" name="tagfield" value="[% searchfield | html %]" /> >+ <div class="fg-row input-sm"> >+ [% IF ( heading_modify_tag_p ) %] >+ <input type="hidden" name="tagfield" value="[% searchfield | html %]" /> >+ <div class="fg-label"> > <span class="label">Tag:</span> >- [% searchfield | html %] >- [% ELSE %] >+ </div> >+ <div class="fg-text"> [% searchfield | html %] </div> >+ [% ELSE %] >+ <div class="fg-label"> > <label for="tagfield" class="required">Tag: </label> >- <input id="tagfield" type="text" name="tagfield" value="[% searchfield | html %]" maxlength="3" size="3" required="required" class="required" /> >- <span class="required">Required</span> >- [% END %] >- </li> >- <li><label for="liblibrarian">Description in staff interface: </label><input type="text" id="liblibrarian" name="liblibrarian" value="[% liblibrarian | html %]" size="40" maxlength="255" /></li> >- <li><label for="libopac">Description in OPAC: </label><input type="text" id="libopac" name="libopac" value="[% libopac | html %]" size="40" maxlength="255" /></li> >- <li >- ><label for="repeatable">Repeatable: </label> >+ </div> >+ <div class="fg-input"> >+ <input id="tagfield" type="text" name="tagfield" value="[% searchfield | html %]" maxlength="3" required="required" class="required" /> >+ </div> >+ <div class="required">Required</div> >+ [% END %] >+ </div> >+ <div class="fg-row"> >+ <div class="fg-label"> >+ <label for="liblibrarian">Description in staff interface: </label> >+ </div> >+ <div class="fg-input"> >+ <input type="text" id="liblibrarian" name="liblibrarian" value="[% liblibrarian | html %]" maxlength="255" /> >+ </div> >+ </div> >+ <div class="fg-row"> >+ <div class="fg-label"> >+ <label for="libopac">Description in OPAC: </label> >+ </div> >+ <div class="fg-input"> >+ <input type="text" id="libopac" name="libopac" value="[% libopac | html %]" maxlength="255" /> >+ </div> >+ </div> >+ <div class="fg-row input-checkbox"> >+ <div class="fg-label"> >+ <label for="repeatable">Repeatable</label> >+ </div> >+ <div class="fg-input"> > [% IF ( repeatable ) %] > <input type="checkbox" name="repeatable" id="repeatable" value="1" checked="checked" /> > [% ELSE %] > <input type="checkbox" name="repeatable" id="repeatable" value="1" /> > [% END %] >- </li> >- <li >- ><label for="mandatory">Mandatory: </label> >+ </div> >+ </div> >+ <div class="fg-row input-checkbox"> >+ <div class="fg-label"> >+ <label for="mandatory">Mandatory</label> >+ </div> >+ <div class="fg-input"> > [% IF ( mandatory ) %] > <input type="checkbox" name="mandatory" id="mandatory" value="1" checked="checked" /> > [% ELSE %] > <input type="checkbox" name="mandatory" id="mandatory" value="1" /> > [% END %] >- </li> >- <li >- ><label for="important">Important: </label> >+ </div> >+ </div> >+ <div class="fg-row input-checkbox"> >+ <div class="fg-label"> >+ <label for="important">Important</label> >+ </div> >+ <div class="fg-input"> > [% IF ( important ) %] > <input type="checkbox" name="important" id="important" value="1" checked="checked" /> > [% ELSE %] > <input type="checkbox" name="important" id="important" value="1" /> > [% END %] >- </li> >- <li >- ><label for="ind1_defaultvalue">First indicator default value: </label> >- <input id="ind1_defaultvalue" type="text" name="ind1_defaultvalue" value="[% ind1_defaultvalue | html %]" maxlength="1" size="1" /> >- </li> >- <li >- ><label for="ind2_defaultvalue">Second indicator default value: </label> >- <input id="ind2_defaultvalue" type="text" name="ind2_defaultvalue" value="[% ind2_defaultvalue | html %]" maxlength="1" size="1" /> >- </li> >- <li >- ><label for="authorised_value">Authorized value: </label> >+ </div> >+ </div> >+ <div class="fg-row input-sm"> >+ <div class="fg-label"> >+ <label for="ind1_defaultvalue">First indicator default value: </label> >+ </div> >+ <div class="fg-input"> >+ <input id="ind1_defaultvalue" type="text" name="ind1_defaultvalue" value="[% ind1_defaultvalue | html %]" maxlength="1" /> >+ </div> >+ </div> >+ <div class="fg-row input-sm"> >+ <div class="fg-label"> >+ <label for="ind2_defaultvalue">Second indicator default value: </label> >+ </div> >+ <div class="fg-input"> >+ <input id="ind2_defaultvalue" type="text" name="ind2_defaultvalue" value="[% ind2_defaultvalue | html %]" maxlength="1" /> >+ </div> >+ </div> >+ <div class="fg-row"> >+ <div class="fg-label"> >+ <label for="authorised_value">Authorized value: </label> >+ </div> >+ <div class="fg-input"> > <select name="authorised_value" id="authorised_value"> > <option value=""></option> > [% PROCESS options_for_authorised_value_categories authorised_value_categories => AuthorisedValues.GetCategories( selected => authorised_value ) %] > </select> >- (if you select a value here, the indicators will be limited to the authorized value list)</li >- > >- </ol></fieldset >- > >+ </div> >+ <div class="hint">If you select a value here, the indicators will be limited to the authorized value list</div> >+ </div> >+ </fieldset> > <fieldset class="action"> > <input type="submit" class="btn btn-primary" value="Save changes" /> > <a class="cancel" href="/cgi-bin/koha/admin/marctagstructure.pl?frameworkcode=[% framework.frameworkcode | uri %]">Cancel</a> >@@ -228,7 +270,7 @@ > <form name="f" action="/cgi-bin/koha/admin/marctagstructure.pl" method="get"> > <fieldset style="padding:.5em;"> > <label for="tag_search"><strong>Search for tag:</strong> </label> >- <input type="text" name="searchfield" id="tag_search" size="4" value="[% searchfield | html %]" /> >+ <input type="text" name="searchfield" id="tag_search" value="[% searchfield | html %]" /> > > <label for="frameworkcode"><strong>In framework:</strong> </label> > <select id="frameworkcode" name="frameworkcode"> >-- >2.39.5
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 41839
: 193016