%= simple_form_for(@campaign) do |frm| %>
<% if @campaign.errors.any? %>
<%= pluralize(@campaign.errors.count, "error") %> prohibited this campaign from being saved:
<% @campaign.errors.full_messages.each do |msg| %>
- <%= msg %>
<% end %>
<% end %>
<%= frm.input :clientid %>
<%= frm.input :listingcode %>
<%= frm.input :billingcode %>
<%= frm.input :advertisername %>
<%= frm.input :address1 %>
<%= frm.input :address2 %>
<%= frm.input :city %>
<%= frm.input :state %>
<%= frm.input :zip %>
<%= frm.input :emailaddress %>
<%= frm.input :customerfirstname %>
<%= frm.input :customerlastname %>
<%= frm.input :salesrep %>
<%= frm.input :salesrepemail %>
<%= frm.input :businessphone %>
<%= frm.input :contactphone %>
<%= frm.input :websiteurl %>
<%= frm.simple_fields_for :videolistings do |vidlist| %>
-
<%= vidlist.input :videocode %>
<%= vidlist.input :producttypeid %>
<%= vidlist.input :remoteassetsarchive %>
<%= vidlist.input :voiceoverselection %>
<%= vidlist.input :musicselection %>
<%= vidlist.input :clientprovidedscript %>
<%= vidlist.input :keywords %>
<%= vidlist.input :focus %>
<%= vidlist.input :notes %>
<%= vidlist.input :asseturls %>
<% end %>
<%= frm.submit %>
<% end %>