misadventure/app/views/tapes/_form.html.erb

11 lines
No EOL
243 B
Text

<%= form_with model: tape do |form| %>
<div>
<%= form.label :title %>
<%= form.text_field :title %>
<%= form.file_field :video, :accept => 'video/quicktime,video/mp4' %>
</div>
<div>
<%= form.submit %>
</div>
<% end %>