socialforge/app/views/shixuns/_settings_challenges_action...

7 lines
301 B
Plaintext

<% unless @shixun.script.blank? %>
<% if @shixun.status == 1 %>
<a class="fr task-btn mb10 mr10">已开启</a>
<% else %>
<%= link_to "开启实训", shixun_job_create_shixun_path(@shixun), :class => "task-btn task-btn-green fr mr10", :remote => true %>
<% end %>
<% end %>