challenge取消按钮添加链接
This commit is contained in:
parent
dba4c11e4d
commit
18a9676d7a
|
@ -150,10 +150,12 @@
|
|||
<li class="clearfix">
|
||||
<% if params[:action] == "edit" %>
|
||||
<a href="javascript:void(0)" class="task-btn task-btn-green fr mr10" onclick="challenge_update()">保存</a>
|
||||
<a href="<%= shixun_challenge_path(@challenge, :shixun_id => @shixun) %>" class="task-btn fr mr10">取消</a>
|
||||
<% else %>
|
||||
<a href="javascript:void(0)" class="task-btn task-btn-green fr mr10" onclick="challenge_create()">保存</a>
|
||||
<a href="<%= shixun_challenges_path(@shixun) %>" class="task-btn fr mr10">取消</a>
|
||||
<% end %>
|
||||
<a href="javascript:void(0)" class="task-btn fr mr10">取消</a>
|
||||
|
||||
</li>
|
||||
</div>
|
||||
|
||||
|
|
Loading…
Reference in New Issue