%= form_with model: clip do |form| %>
<%= form.label :title %>
<%= form.text_field :title %>
<%= form.file_field :video, :accept => 'video/quicktime,video/mp4' %>
<%= form.select :category_id, Category.all.collect{ |t| [ t.name, t.id ] }%>
<%= form.submit %>
<% end %>