mirror of
https://github.com/ENSL/ensl.org.git
synced 2024-12-26 12:30:48 +00:00
Update contester edit
This commit is contained in:
parent
0bf8898f30
commit
676c817236
1 changed files with 5 additions and 1 deletions
|
@ -66,7 +66,11 @@
|
|||
</div>
|
||||
|
||||
<% if @contester.can_update? cuser %>
|
||||
<%= link_to 'Edit', edit_contester_path(@contester), class: 'button' %>
|
||||
<%= link_to 'Edit Contester', edit_contester_path(@contester), class: 'button' %>
|
||||
<% end %>
|
||||
|
||||
<% if @contester.team.can_update? cuser %>
|
||||
<%= link_to 'Edit Team', edit_team_path(@contester.team), class: 'button' %>
|
||||
<% end %>
|
||||
|
||||
<script type="text/javascript">
|
||||
|
|
Loading…
Reference in a new issue