<!DOCTYPE html>
<html>
<head>
  <title>Store</title>
  <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js"></script>
  <script src="http://netdna.bootstrapcdn.com/bootstrap/3.0.3/js/bootstrap.min.js"></script>
  <%= stylesheet_link_tag    "application", :media => "all" %>
  <%= javascript_include_tag "application" %>
  <%= csrf_meta_tags %>
</head>
<body>

<%= render 'navbar' %>

<div class="container">

<%= form_tag("/databases/data_collection", method: "post") do %>
  <%= label_tag(:database, "Database Name: ") %>
  <%= text_field_tag(:database) %>
  <%= "Example: sitedbprod " %>
  <br>
  <%= label_tag(:database_type, "Database Type: ") %>
  <%= text_field_tag(:database_type) %>
  <%= "Example: master or replica" %>
  <br>
  <%= label_tag(:fqdn, "Database FQDN: ") %>
  <%= text_field_tag(:fqdn) %>
  <%= "Example : postgres-staging-949fac.sfo01.justin.tv" %>
  <br>
  <%= label_tag(:schema, "Schema Name:") %>
  <%= text_field_tag(:schema) %>
  <%= "Example: justintv_prod " %>
  <br>
  <%= label_tag(:time, "Amount of time to run the datacollection (minutes) : ") %>
  <%= text_field_tag(:time) %>
  <%= "Example: 15 " %>
  <br>
  <%= submit_tag("Run Datacollection") %>
<% end %>



  <%= yield %>
</div>
</body>
</html>


