From 884d75a509c4f0d0f91d691994929e9e84cec618 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Mon, 31 Oct 2011 09:53:51 +0100 Subject: cgi: Add via field to form --- cgi/index.pl | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/cgi/index.pl b/cgi/index.pl index e1cbbbe..1a0c7cf 100644 --- a/cgi/index.pl +++ b/cgi/index.pl @@ -106,6 +106,10 @@ __DATA__ @@ -257,8 +271,12 @@ LC display in the station itself. <%= form_for _redirect => begin %>

- Station name: + Station name <%= text_field 'station' %> +
+ only display routes via + <%= text_field 'via' %> + (optional) <%= submit_button 'Display' %>

<% end %> -- cgit v1.2.3