Anexos aninhados
This commit is contained in:
@@ -6,6 +6,10 @@
|
||||
%p.grey= "Tamanho máximo: #{number_to_human_size(App.max_upload_file_size)}"
|
||||
%dd= file_field 'attachment', 'file'
|
||||
|
||||
%dt
|
||||
%label{:for => 'attachment_path'} Pasta
|
||||
%dd= text_field 'attachment', 'path'
|
||||
|
||||
%dt
|
||||
%label{:for => "attachment_description"} Descrição
|
||||
%dd= preserve(text_area 'attachment', 'description')
|
||||
|
||||
@@ -10,6 +10,9 @@
|
||||
%dt Arquivo
|
||||
%dd= link_to h(@attachment.file_name), download_course_attachment_url
|
||||
|
||||
%dt Pasta
|
||||
%dd= h(@attachment.path)
|
||||
|
||||
%dt Descrição
|
||||
%dd= h(@attachment.description)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user