edit journey: use link to cancel
This bypasses form element validation, which doesn't make sense for "cancel edit"
This commit is contained in:
parent
1ee185d26b
commit
9df9f7c845
1 changed files with 2 additions and 2 deletions
|
@ -80,9 +80,9 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col s6 m6 l6 center-align">
|
<div class="col s6 m6 l6 center-align">
|
||||||
<button class="btn waves-effect waves-light" type="submit" name="action" value="cancel">
|
<a href="/journey/<%= current_user()->{id} %>-<%= param('journey_id') %>" class="waves-effect waves-light btn">
|
||||||
Abbrechen
|
Abbrechen
|
||||||
</button>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
<div class="col s6 m6 l6 center-align">
|
<div class="col s6 m6 l6 center-align">
|
||||||
<button class="btn waves-effect waves-light" type="submit" name="action" value="save">
|
<button class="btn waves-effect waves-light" type="submit" name="action" value="save">
|
||||||
|
|
Loading…
Reference in a new issue