diff options
author | Daniel Friesel <derf@finalrewind.org> | 2019-04-07 20:20:37 +0200 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2019-04-07 20:20:37 +0200 |
commit | beb17acb8440bb44f1070c2fb3b2e6cf7521f800 (patch) | |
tree | bbe052f289d841ecb1ca89426cbf39fbdfc2950a /templates/journey.html.ep | |
parent | d4269a8fe4586e08577b66b5068b576e5ab36c7b (diff) |
Prepare forms for manual journey entry and editing
Diffstat (limited to 'templates/journey.html.ep')
-rw-r--r-- | templates/journey.html.ep | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/templates/journey.html.ep b/templates/journey.html.ep index 7483a14..3b84d67 100644 --- a/templates/journey.html.ep +++ b/templates/journey.html.ep @@ -129,8 +129,6 @@ </div> </div> <div class="row"> - <div class="col s3 m3 l3"> - </div> <div class="col s6 m6 l6 center-align"> <a class="waves-effect waves-light red btn action-delete" data-id="<%= join(q{,}, @{$journey->{ids}}) %>" @@ -140,7 +138,13 @@ Löschen </a> </div> - <div class="col s3 m3 l3"> + <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"> + Bearbeiten + </button> + %= end </div> </div> % } |