<table>
  <tr data-hook="analytics_id">
    <td><%= label_tag nil, t(:google_analytics_id) %></td>
    <td><%= text_field :tracker, :analytics_id, {'style' => 'width:200px;'} %></td>
  </tr>
  <tr data-hook="environment">
    <td><%= label_tag nil, t(:environment) %></td>
    <td>
      <%= collection_select(:tracker, :environment, Rails.configuration.database_configuration.keys.sort, :to_s, :titleize, {}, {:id => 'tracker-env'}) %>
    </td>
  </tr>
  <tr data-hook="active">
    <td><%= label_tag nil, t(:active) %></td>
    <td>
      <label class="sub">
        <%= radio_button(:tracker, :active, true) %>
        <%= t(:yes) %>
      </label> &nbsp;
      <label class="sub">
        <%= radio_button(:tracker, :active, false) %>
        <%= t(:no) %>
      </label>
    </td>
  </tr>
  <tbody data-hook="additional_tracker_fields">
  </tbody>
</table>
