You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.

24 lines
617 B

.cmd
= action_icon 'edit', 'Editar', edit_course_attachment_url
= action_icon 'trash', 'Excluir', course_attachment_url, :confirm => 'Tem certeza que deseja excluir o arquivo?', :method => :delete
%h4.title= h(@attachment.course.full_name)
%h1.title Repositório
%p
%dl
%dt Arquivo
%dd= link_to h(@attachment.file_name), download_course_attachment_url(@course, @attachment)
%dt Pasta
%dd= h(@attachment.path)
%dt Descrição
%dd= h(@attachment.description)
%dt Tipo de Arquivo
%dd= h(@attachment.content_type)
%dt Tamanho
%dd= number_to_human_size @attachment.size