<%=h @document.title %> |
<%= textilizable @document.description, :attachments => @document.attachments %>
|
<%= format_date @document.created_on %> |
<%= link_to l(:label_attachment_new), {}, :onclick => "$('#add_attachment_form').show(); return false;", :id => 'attach_files_link' %>
<%= form_tag({ :controller => 'documents', :action => 'add_attachment', :id => @document }, :multipart => true, :id => "add_attachment_form", :style => "display:none;") do %><%= render :partial => 'attachments/form' %>