socialforge/app/views/syllabuses/edit_syllabus_title.js.erb

4 lines
244 B
Plaintext

$("#syllabus_title_show").html("<%= escape_javascript render :partial => 'layouts/syllabus_title', :locals => {:syllabus => @syllabus} %>");
$("#syllabus_title_edit").text("");
$("#syllabus_title_show").show();
$("#syllabus_title_edit").hide();