chiark / gitweb /
WIP routesearch UI: entry improvements re advanced options
[ypp-sc-tools.main.git] / yarrg / web / query_routesearch
index bbeba5b522e59ce506ec29d9fb334fa01ae93334..93fcf0bc1bda2c57d793b0ed7a7b3e196ab12494 100644 (file)
@@ -51,7 +51,7 @@ my @warningfs;
 my @islandids;
 
 my $qa= \%ARGS;
-my $routeparams= { EmsgRef => \$emsg, SayOptionalCapital => 1 };
+my $routeparams= { EmsgRef => \$emsg, SayRequiredCapacity => 1 };
 my $maxdist;
 
 </%perl>
@@ -70,11 +70,15 @@ This feature is not available from the "drop down menus" interface.
  &>
 
 <&| enter_advrouteopts, qa=>$qa, dbh=>$dbh, routeparams=>$routeparams &>
+<td>
+&nbsp;
+&nbsp;
 <td>
  Maximum distance:
  <&| qtextstring, qa => $qa, dbh => $dbh, prefix => 'ml',
     thingstring => 'distance', emsgstore => \$emsg,
     onresults => sub { ($maxdist)= @_; } &>
+   size=10
  </&>
 </&>