summaryrefslogtreecommitdiff
path: root/templates/_checked_out.html.ep
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2019-04-24 09:00:30 +0200
committerDaniel Friesel <derf@finalrewind.org>2019-04-24 09:00:30 +0200
commitb992a6dc75e92d63f4cbca758cd70d825d893c05 (patch)
treed3e87d4508120e9a373ea46c5a47b968fa2e8a00 /templates/_checked_out.html.ep
parentfd314e327d9926da00a433c8192d592334662ba5 (diff)
$render(status => ...) is a special variable. derp.
Diffstat (limited to 'templates/_checked_out.html.ep')
-rw-r--r--templates/_checked_out.html.ep6
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/_checked_out.html.ep b/templates/_checked_out.html.ep
index 737cc9d..1b6113a 100644
--- a/templates/_checked_out.html.ep
+++ b/templates/_checked_out.html.ep
@@ -1,11 +1,11 @@
<div class="card grey darken-4">
<div class="card-content white-text">
<span class="card-title">Ausgecheckt</span>
- <p>Aus <%= $status->{train_type} %> <%= $status->{train_no} %>
- bis <a href="/s/<%= $status->{arr_ds100} %>"><%= $status->{arr_name} %></a></p>
+ <p>Aus <%= $journey->{train_type} %> <%= $journey->{train_no} %>
+ bis <a href="/s/<%= $journey->{arr_ds100} %>"><%= $journey->{arr_name} %></a></p>
</div>
<div class="card-action">
- <a class="action-undo" data-id="<%= $status->{journey_id} %>">
+ <a class="action-undo" data-id="<%= $journey->{journey_id} %>">
<i class="material-icons">undo</i> Rückgängig?
</a>
</div>