now this is what i call an app
This commit is contained in:
commit
8063246b68
97 changed files with 1989 additions and 0 deletions
11
app/views/tapes/_form.html.erb
Normal file
11
app/views/tapes/_form.html.erb
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
<%= 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 %>
|
||||
Loading…
Add table
Add a link
Reference in a new issue