<%= form_for(@snapshot) do |f| %>
  <% if @snapshot.errors.any? %>
    <div id="error_explanation">
      <h2><%= pluralize(@snapshot.errors.count, "error") %> prohibited this snapshot from being saved:</h2>

      <ul>
      <% @snapshot.errors.full_messages.each do |message| %>
        <li><%= message %></li>
      <% end %>
      </ul>
    </div>
  <% end %>

  <div class="field">
    <%= f.label :database_name %><br>
    <%= f.text_area :database_name %>
  </div>
  <div class="field">
    <%= f.label :s3_url %><br>
    <%= f.text_area :s3_url %>
  </div>
  <div class="actions">
    <%= f.submit %>
  </div>
<% end %>
