6 lines
452 B
Plaintext
6 lines
452 B
Plaintext
<h2 style="position:relative; display:inline;">课程名称:<%=syllabus.title %>
|
|
<% if User.current == syllabus.user || User.current.admin? %>
|
|
<%= link_to image_tag("../images/signature_edit.png",width:"12px", height: "12px"), "javascript:void(0);",:id => "syllabus_edit_title_png", :class => "none", :style => "width:15px; position:absolute; right: -20px; top: 15px;", :onclick => "show_edit_title('#{syllabus.title}');"%>
|
|
<% end %>
|
|
</h2>
|