<%= @document.category.name %>
<%= format_date @document.created_on %>
<%= link_to_if_authorized l(:button_edit), :controller => 'documents', :action => 'edit', :id => @document %> | <% if authorize_for('documents', 'destroy') %> <%= start_form_tag({ :controller => 'documents', :action => 'destroy', :id => @document } ) %> <%= submit_tag l(:button_delete) %> <%= end_form_tag %> <% end %> |