[% PROCESS 'elements.html' %] [% PROCESS 'dynatable.html' %]

# Uploaded files (not attached)

[% PROCESS dynatable tbody = { rows = files } %] [% INCLUDE input element_data = { type = "hidden" value = "6" name = "file_class" } %] [% INCLUDE input element_data = { type = "hidden" value = "0" name = "ref_key" } %] [% INCLUDE input element_data = { type = "hidden" value = "file.pl?__action=list_internal_files" name = "callback" } %] [% INCLUDE button element_data = { text = text("Delete") 'data-lsmb-doing' = text('Deleting...') 'data-lsmb-done' = text('Deleted') value = "delete_internal_files" name = "__action" type = "submit" class = "submit" } %]
[% INCLUDE input element_data = { label = text('Description') type = "text" value = description name = "description" class = "description" } %] [% INCLUDE input element_data = { label = text('Url') type = "text" value = url name = "url" class = "url" } %] [% text('Or') %] [% INCLUDE input element_data = { label = text("File") type = "file" name = "upload_data" } %]
[% INCLUDE button element_data = { text = text('Upload') 'data-lsmb-doing' = text('Uploading...') 'data-lsmb-done' = text('Uploaded') value = "attach_file" name = "__action" type = "submit" class = "submit" } %]