From d7002a34718a72c26001264bf5da3a2709208993 Mon Sep 17 00:00:00 2001
From: Juan Romay Sieira <juan.sieira@xercode.es>
Date: Tue, 17 May 2011 10:09:37 +1200
Subject: [PATCH] Bug 6144 - Cant hide constraints when showed at subfield edition

Reformatted for Template::Toolkit

Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
---
 .../en/modules/admin/marc_subfields_structure.tt   |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

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 154aea5..18c1db3 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
@@ -87,7 +87,7 @@
     [% FOREACH loo IN loop %] 
         <div id="sub[% loo.urisubfieldcode %]field">
         
-               <fieldset class="rows"><legend>[% IF ( loo.new_subfield ) %]Add new subfield[% ELSE %]Basic constraints[% END %]</legend>
+               <fieldset class="rows" style="float:none;"><legend>[% IF ( loo.new_subfield ) %]Add new subfield[% ELSE %]Basic constraints[% END %]</legend>
                 	<ol>
                 		[% IF ( subfieldcode == 0 || subfieldcode ) %] 
                 		<li><span class="label">Subfield code:</span> [% loo.subfieldcode %] <input type="hidden" name="tagsubfield" value="[% loo.subfieldcode %]" /></li>
@@ -104,7 +104,7 @@
 			
             <a class="displaymore" href="#more[% loo.urisubfieldcode %]">display more constraints</a>
             <div id="more[% loo.urisubfieldcode %]" style="display:none; clear: both">
-             <fieldset class="rows">
+             <fieldset class="rows" style="float:none;">
 				<legend>Advanced constraints:</legend>
                 <ol><li><label for="defaultvalue[% loo.row %]">Default value:</label>
                     <input type="text" name="defaultvalue" id="defaultvalue[% loo.row %]" value="[% loo.defaultvalue %]" /></li>
@@ -114,7 +114,7 @@
                 <li><label for="kohafield[% loo.row %]">Koha link:</label>[% loo.kohafield %]</li>
 			</ol>
 	</fieldset>
-	 <fieldset class="rows">
+	 <fieldset class="rows" style="float:none;">
                 <legend>Other Options: (choose one)</legend>
                     	<ol>
                     		<li><label for="authorised_value[% loo.row %]">Authorized value:</label>[% loo.authorised_value %]</li>
-- 
1.7.4.1