Merge branch 'sw_new_course' of http://repository.trustie.net/xianbo/trustie2 into sw_new_course
commit
9935cfea44
@ -0,0 +1,6 @@
|
||||
<div class="ur_page_head ur_editor02" ><!--头部显示 start-->
|
||||
<a href="javascript:" class="ur_icon_edit" title="编辑" onclick="pollsEdit();"></a>
|
||||
<h1 class="ur_page_title" id="polls_name_h"><%= exercise.exercise_name%></h1>
|
||||
<%= exercise.exercise_description.nil? ? "" : exercise.exercise_description.html_safe%>
|
||||
<div class="cl"></div>
|
||||
</div><!--头部显示 end-->
|
@ -0,0 +1,4 @@
|
||||
$("#polls_head_show").html("<%= escape_javascript(render :partial => 'show_head', :locals => {:exercise => @exercise}) %>");
|
||||
$("#polls_head_edit").html("<%= escape_javascript(render :partial => 'edit_head', :locals => {:exercise => @exercise}) %>");
|
||||
$("#polls_head_edit").hide();
|
||||
$("#polls_head_show").show();
|
@ -1 +1,2 @@
|
||||
<%= render :partial => 'exercise_form'%>
|
||||
<%#= render :partial => 'exercise_form'%>
|
||||
111
|
Loading…
Reference in new issue