parent
1f4454d908
commit
0b25f36a7f
@ -1 +1,9 @@
|
|||||||
<%= render :partial => 'exercise_form'%>
|
<%= render :partial => 'exercise_form'%>
|
||||||
|
<script type="text/javascript">
|
||||||
|
$(function() {
|
||||||
|
<% if @exercise.exercise_name != "" && @exercise.end_time != "" %>
|
||||||
|
$("#polls_head_show").show();
|
||||||
|
$("#polls_head_edit").hide();
|
||||||
|
<% end %>
|
||||||
|
});
|
||||||
|
</script>
|
||||||
|
Loading…
Reference in new issue