<%# locals => f %> <% if f.object.new_record? %>
<%= f.label :metric_type, 'Type (this is technical)' %> <%= f.text_field :metric_type %>
<% else %>

<%= f.object.metric_type %>

<% end %>
<%= f.label :title %> <%= f.text_field :title %>
<%= f.check_box :tally_each_serve %> <%= f.label :tally_each_serve, "Tally every hit (or just once per user)" %>
<%= f.submit 'Submit' %>