<h2>New pricing rule</h2>

<%= form_for @pricing_rule,
  :url => admin_application_plan_metric_pricing_rules_path(@plan, @metric),
  :html => {:class => 'remote'} do |form| %>
  <%= form.error_messages %>
  <%= render :partial => form %>
  <%= form.submit "Create", :class => 'button' %>
<% end %>
