<# set folder_id to public google drive folder id by name "Hashtag-BAT File Uploads"; #> <# start form for google sheet "Google Drive Uploads" <#[url.edit]#>; when deleting call confirm('Delete File Record?'); when done redirect to "/google-drive/google-sheet-files?index=<# form.id #>"; #> New File Upload: <input type="file" <# upload to google drive "/<#[folder_id]#>"; save name to File Name; save type to File Type; save web_url to File URL; save image_width to Image Width; save image_height to Image Height; #>><br> <# if "<#[url.edit]#>"!="" #> File Name: <input type="text" <# File Name #>><br> <# end if #> <input type="button" <# Create button #> value="Upload"> <input type="button" <# Update button #>> <input type="button" <# Delete button #>> <# end form #>