Skip to content

Commit

Permalink
Implement back button for simulation title (Closes #45)
Browse files Browse the repository at this point in the history
  • Loading branch information
Galaxy102 committed Feb 13, 2022
1 parent 78ceac5 commit 5672b2c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/resources/templates/bootstrap/datasim/remark.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
</div>
<div class="row">
<div class="col">
<a href="#" th:if="${mode == mode.CREATING}">
<button class="col btn btn-outline-danger" type="button" disabled>Back</button>
<a href="#" th:if="${mode == mode.CREATING}" onclick="history.go(-1);">
<button class="col btn btn-outline-danger" type="button">Back</button>
</a>
<a th:href="'/ui/datasim/show?flow=' + ${flow}" th:if="${mode == mode.EDITING}">
<button class="col btn btn-outline-danger" type="button">Back</button>
Expand Down

0 comments on commit 5672b2c

Please sign in to comment.