<%= form_for(@version) do |f| %> <% if @version.errors.any? %>

<%= pluralize(@version.errors.count, "error") %> prohibited this version from being saved:

<% 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 %>