Anexos aninhados

This commit is contained in:
2009-09-06 21:00:20 -03:00
11 changed files with 108 additions and 27 deletions

View File

@@ -6,6 +6,11 @@
%p.grey= "Tamanho máximo: #{number_to_human_size(App.max_upload_file_size)}"
%dd= file_field 'attachment', 'file'
%dt
%label{:for => 'attachment_path'} Diretório
%p.grey= "Exemplo: Exercicios/Parte 1"
%dd= text_field 'attachment', 'path'
%dt
%label{:for => "attachment_description"} Descrição
%dd= preserve(text_area 'attachment', 'description')