mirror of
https://github.com/ENSL/ensl.org.git
synced 2024-12-27 04:51:14 +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>
|
</div>
|
||||||
|
|
||||||
<% if @contester.can_update? cuser %>
|
<% 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 %>
|
<% end %>
|
||||||
|
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
|
|
Loading…
Reference in a new issue