summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--index.pl3
-rw-r--r--templates/main.html.ep2
2 files changed, 1 insertions, 4 deletions
diff --git a/index.pl b/index.pl
index 6dcee58..6bd4844 100644
--- a/index.pl
+++ b/index.pl
@@ -130,9 +130,6 @@ sub get_results {
}
else {
my $efa_url = 'http://efa.vrr.de/vrr/XSLT_DM_REQUEST';
- if ( not $city ) {
- return { errstr => 'City must be specified for this backend' };
- }
if ($sub_backend) {
my $service
= first { lc( $_->{shortname} ) eq lc($sub_backend) }
diff --git a/templates/main.html.ep b/templates/main.html.ep
index 496ef96..c44ac83 100644
--- a/templates/main.html.ep
+++ b/templates/main.html.ep
@@ -105,7 +105,7 @@ und wird derzeit nicht aktiv gepflegt oder weiterentwickelt. Alle Angaben ohne G
%= form_for _redirect => begin
<div>
<div class="field">
- <div class="desc">Stadt (Pflichtfeld für EFA-Backends, sonst optional)</div>
+ <div class="desc">Stadt (optional, kann auch Teil der Haltestelle sein)</div>
<div>
% if (stash('place_candidates') and @{ stash('place_candidates') } ) {
% my @candidates = map { [ $_, $_ ] } @{ stash('place_candidates') };