New File
<%= form_for @file, html: { multipart: true, class: 'square' } do |f| %>
<%= render 'shared/errors', messages: @file.errors.full_messages %>
<%= f.label :name %>
<%= f.file_field :name %>
<%= f.label :description %>
<%= f.text_field :description %>
<%= f.label :directory_id %>
<%= f.select :directory_id, Directory.all.collect{|c| ["#{c.path} - #{c.name}", c.id]} %>
<%= f.submit 'Create File' %>
<% end %>