2014-03-06 16:47:28 +08:00
|
|
|
$('#relation_file_form').show();
|
2014-07-02 14:58:52 +08:00
|
|
|
<% if @project%>
|
2014-03-06 16:47:28 +08:00
|
|
|
$('#relation_file').html('<%=render_attachments_for_new_project(@project, nil)%>');
|
2014-07-02 14:58:52 +08:00
|
|
|
<% elsif @course%>
|
|
|
|
$('#relation_file').html('<%=render_attachments_for_new_course(@course, nil)%>');
|
|
|
|
<% end%>
|
|
|
|
|