better layout for library address editing
authormiker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 19 Jul 2005 16:36:01 +0000 (16:36 +0000)
committermiker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 19 Jul 2005 16:36:01 +0000 (16:36 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@1278 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/src/cgi-bin/lib-setup.cgi

index 8e08e1f..4b402cb 100755 (executable)
@@ -218,7 +218,7 @@ if (my $action = $cgi->param('action')) {
 
                        print Tr( "<td colspan='2'><input type='submit' name='action' value='Update'/></td>" );
 
-                       print   "</table></form><hr/>";
+                       print   "</table></form><hr/><table cellspacing='20'><tr>";
 
 
                        #-------------------------------------------------------------------------
@@ -244,8 +244,10 @@ if (my $action = $cgi->param('action')) {
                                                id              => $addr?$addr->id:'',
                                );
 
+                               print '</tr><tr>' if ($a eq 'holds_address');
                                print <<"                               TABLE";
 
+<td>
 <form method='POST'>
 <table class='table_class'>
        <tr>
@@ -288,12 +290,12 @@ if (my $action = $cgi->param('action')) {
 <input type='hidden' name='addr_type' value='$a'>
 <input type='hidden' name='id' value='$node'>
 <input type='submit' name='action' value='Save Address'>
-</form>
+</form></td>
 
                                TABLE
                        }
 
-                       print "<h2>New Child</h2>";
+                       print "<tr></table><hr><h2>New Child</h2>";
        
                        print   "<form method='POST'>".
                                "<table class='table_class'>\n";