Loading templates/checkin.html.ep +14 −7 Original line number Diff line number Diff line Loading @@ -35,13 +35,20 @@ <div class="row"> <div class="col s12"> Weitere Route: <ul> </div> </div> <div class="row"> <div class="col s12"> <table> <tbody> % for my $station ($train->route_post) { <li><%= $station %> (<a href="/a/checkout?station=<%= $station %>">hier auschecken</a>) </li> <tr> <td><%= $station %></td> <td><a href="/a/checkout?station=<%= $station %>">hier auschecken</a></td> </tr> % } </ul> </tbody> </table> </div> </div> % } templates/landingpage.html.ep +6 −5 Original line number Diff line number Diff line Loading @@ -8,14 +8,15 @@ <p>Du bist gerade eingecheckt in <%= $status->{train_type} %> <%= $status->{train_no} %> ab <%= $status->{station_name} %>.</p> <p>Auschecken? <ul> <p>Auschecken?</p> <table> <tbody> % my $is_after = 0; % for my $station (@{$status->{route_after}}) { <li><a href="/a/checkout?station=<%= $station %>"><%= $station %></a></li> <tr><td><a href="/a/checkout?station=<%= $station %>"><%= $station %></a></td></tr> % } </ul> </p> </tbody> </table> </div> </div> % } Loading Loading
templates/checkin.html.ep +14 −7 Original line number Diff line number Diff line Loading @@ -35,13 +35,20 @@ <div class="row"> <div class="col s12"> Weitere Route: <ul> </div> </div> <div class="row"> <div class="col s12"> <table> <tbody> % for my $station ($train->route_post) { <li><%= $station %> (<a href="/a/checkout?station=<%= $station %>">hier auschecken</a>) </li> <tr> <td><%= $station %></td> <td><a href="/a/checkout?station=<%= $station %>">hier auschecken</a></td> </tr> % } </ul> </tbody> </table> </div> </div> % }
templates/landingpage.html.ep +6 −5 Original line number Diff line number Diff line Loading @@ -8,14 +8,15 @@ <p>Du bist gerade eingecheckt in <%= $status->{train_type} %> <%= $status->{train_no} %> ab <%= $status->{station_name} %>.</p> <p>Auschecken? <ul> <p>Auschecken?</p> <table> <tbody> % my $is_after = 0; % for my $station (@{$status->{route_after}}) { <li><a href="/a/checkout?station=<%= $station %>"><%= $station %></a></li> <tr><td><a href="/a/checkout?station=<%= $station %>"><%= $station %></a></td></tr> % } </ul> </p> </tbody> </table> </div> </div> % } Loading