summaryrefslogtreecommitdiff
path: root/templates/journey.html.ep
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2019-04-08 21:20:04 +0200
committerDaniel Friesel <derf@finalrewind.org>2019-04-08 21:20:04 +0200
commitc0c7b1a589b51b9fe27980ff7b5c80e56a77eb01 (patch)
tree7aec58d2d32418578e0e785f19f787629e5a27c1 /templates/journey.html.ep
parentbeb17acb8440bb44f1070c2fb3b2e6cf7521f800 (diff)
Work-in-progress journey editor. Not ready for deployment.
Diffstat (limited to 'templates/journey.html.ep')
-rw-r--r--templates/journey.html.ep5
1 files changed, 4 insertions, 1 deletions
diff --git a/templates/journey.html.ep b/templates/journey.html.ep
index 3b84d67..b5c24a7 100644
--- a/templates/journey.html.ep
+++ b/templates/journey.html.ep
@@ -26,6 +26,9 @@
am
<b><%= $journey->{sched_departure}->strftime('%d.%m.%Y') %></b>
</p>
+ % if ($journey->{edited}) {
+ <p>Die Ankunfts- und Abfahrtsdaten wurden nachträglich bearbeitet.</p>
+ % }
<table class="striped">
<tr>
<th scope="row">Zug</th>
@@ -141,7 +144,7 @@
<div class="col s6 m6 l6 center-align">
%= form_for '/journey/edit' => (method => 'POST') => begin
%= hidden_field 'journey_id' => param('journey_id')
- <button class="btn waves-effect waves-light" type="submit" name="action" value="edit" disabled="disabled">
+ <button class="btn waves-effect waves-light" type="submit" name="action" value="edit">
Bearbeiten
</button>
%= end