haml(:_header, locals: { file: false })

.row

.span6
  %form.upload{ method: 'POST', enctype: 'multipart/form-data' }
    %p Upload file to this directory
    %input.uploader{ type: 'file', value: 'Select a file', name: 'file', size: 12 }
    %input.btn.secondary{ type: 'submit', value: 'Upload file' }
.span8
  %form.add{ method: 'POST' }
    %p Add new file or directory
    %input{ type: 'text', name: 'filename', placeholder: 'somefile.md or somedir' }
    %input.btn.secondary{ type: 'submit', name: 'new_file', value: 'New file' }
    %input.btn.secondary{ type: 'submit', name: 'new_directory', value: 'New directory' }