[% PROCESS 'elements.html' %]
[% INCLUDE input element_data = { type = "hidden" value = file_class name = "file_class" } %] [% INCLUDE input element_data = { type = "hidden" value = ref_key name = "ref_key" } %] [% INCLUDE input element_data = { type = "hidden" value = callback name = "callback" } %]
[% text('Attach File') %]
[% 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" } %]