Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions src/static/riot/competitions/editor/form.tag
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,10 @@
<button class="ui basic red button discard" onclick="{ discard }">
Discard Changes
</button>
<a class="ui secondary basic button" href="{URLS.COMPETITION_DETAIL(opts.competition_id)}">Back To Competition</a>
<help_button href="https://github.com/codalab/competitions-v2/wiki/Competition-Creation:-Form"></help_button>
<!-- Show back button when updating only -->
<a if="{opts.competition_id}" class="ui secondary basic button" href="{URLS.COMPETITION_DETAIL(opts.competition_id)}">Back To Competition</a>
<!-- Show help when creating only -->
<help_button if="{!opts.competition_id}" href="https://github.com/codalab/competitions-v2/wiki/Competition-Creation:-Form"></help_button>
</div>
</div>
</div>
Expand Down