%= form_for(@version) do |f| %>
<% if @version.errors.any? %>
<%= pluralize(@version.errors.count, "error") %> prohibited this version from being saved:
<% @version.errors.full_messages.each do |msg| %>
- <%= msg %>
<% end %>
<% end %>
<%= f.label :name %>
<%= f.text_field :name %>
<%= f.label :timestamp %>
<%= f.datetime_select :timestamp %>
<%= f.label :latest %>
<%= f.check_box :latest %>
<%= f.label :files %>
<%= f.text_field :files %>
<%= f.submit %>
<% end %>