hiding some fields

This commit is contained in:
Tyrel Souza 2014-07-02 14:30:08 -04:00
parent 8fdaba4c0e
commit e5e2d07ce9
4 changed files with 11 additions and 45 deletions

View File

@ -17,11 +17,11 @@
<div class="row"> <div class="row">
<div class="col-md-8"> <div class="col-md-8">
<%= frm.input :advertisername, <%= frm.input :advertisername,
label: 'Advertiser Name', label: 'Business Name',
hint: "The name of the company." %> hint: "The name of the company." %>
<%= frm.input :listingcode, <%= frm.input :listingcode,
label: 'Listing Code', label: 'Listing Code',
hint: "Please provide the unique opportunity id." %> as: :hidden %>
<%= frm.input :description, <%= frm.input :description,
label: 'Description', label: 'Description',
as: 'text', as: 'text',
@ -33,24 +33,15 @@
label: 'Website URL', label: 'Website URL',
hint: "Used for script research and may be used in the video if they are including websites in the video graphics." %> hint: "Used for script research and may be used in the video if they are including websites in the video graphics." %>
<%= frm.input :vpa, <%= frm.input :vpa,
label: 'Client Service Rep', label: 'MIS Rep' %>
hint: "This is the full name of the client services representative, as entered in the BetterVideo system associated with this order. This feature is designed for sales reps that are well known to the system. This feature is typically used for automated communication." %>
<%= frm.input :vpa_email, <%= frm.input :vpa_email,
label: 'Client Service Rep Email', label: 'MIS Rep Email' %>
hint: "The Email for the above Client Service Rep, (not sent to BetterVideo, just used for video completion emails)" %>
<%= frm.input :billingcode,
label: 'Billing Code',
hint: "Market or billing code. Should match a billing code in the BetterVideo system so it can be associated." %>
<%= frm.input :emailaddress, <%= frm.input :emailaddress,
label: 'Email Address' %> label: 'Email Address' %>
<%= frm.input :businessphone, <%= frm.input :businessphone,
label: 'Business Phone' %> label: 'Business Phone' %>
<%= frm.input :contactphone,
label: 'Contact Phone' %>
<%= frm.input :customerfirstname,
label: 'Customer First Name' %>
<%= frm.input :customerlastname,
label: 'Customer Last Name' %>
<%= frm.input :address, <%= frm.input :address,
label: 'Address' %> label: 'Address' %>
<%= frm.input :city, <%= frm.input :city,
@ -60,7 +51,6 @@
collection: us_states%> collection: us_states%>
<%= frm.input :zip, <%= frm.input :zip,
label: 'ZIP' %> label: 'ZIP' %>
<%= frm.input :awards, <%= frm.input :awards,
label: 'Awards', label: 'Awards',
hint: "Used in script and video research." %> hint: "Used in script and video research." %>

View File

@ -1,7 +1,7 @@
<div class="nested-fields videolisting_field"> <div class="nested-fields videolisting_field">
<%= f.input :videocode, <%= f.input :videocode,
label: 'Video Code', label: 'Video Code',
hint: "Please provide the video code id." %> hint: "Please provide the opportunity id." %>
<%= f.input :voiceoverselection, <%= f.input :voiceoverselection,
label: 'Voiceover Selection', label: 'Voiceover Selection',
collection: voiceoverselection_list, collection: voiceoverselection_list,

View File

@ -4,7 +4,7 @@
<thead> <thead>
<tr> <tr>
<th>Listing Code (Form Hash)</th> <th>Listing Code (Form Hash)</th>
<th>Advertiser</th> <th>Business</th>
<th>Sent?</th> <th>Sent?</th>
<th>Percent of Videos Completed</th> <th>Percent of Videos Completed</th>
<th>Address</th> <th>Address</th>

View File

@ -34,22 +34,16 @@
<% end %> <% end %>
<% unless @campaign.vpa.blank? %> <% unless @campaign.vpa.blank? %>
<li> <li>
<p><strong>Client Services Rep</strong><br> <p><strong>MIS Rep</strong><br>
<%= @campaign.vpa %></p> <%= @campaign.vpa %></p>
</li> </li>
<% end %> <% end %>
<% unless @campaign.vpa_email.blank? %> <% unless @campaign.vpa_email.blank? %>
<li> <li>
<p><strong>Client Services Rep Email</strong><br> <p><strong>MIS Rep Email</strong><br>
<%= @campaign.vpa_email %></p> <%= @campaign.vpa_email %></p>
</li> </li>
<% end %> <% end %>
<% unless @campaign.billingcode.blank? %>
<li>
<p><strong>Billing Code</strong><br>
<%= @campaign.billingcode %></p>
</li>
<% end %>
<% unless @campaign.emailaddress.blank? %> <% unless @campaign.emailaddress.blank? %>
<li> <li>
<p><strong>Email Address</strong><br> <p><strong>Email Address</strong><br>
@ -62,24 +56,6 @@
<%= number_to_phone @campaign.businessphone %></p> <%= number_to_phone @campaign.businessphone %></p>
</li> </li>
<% end %> <% end %>
<% unless @campaign.contactphone.blank? %>
<li>
<p><strong>Contact Phone</strong><br>
<%= number_to_phone @campaign.contactphone %></p>
</li>
<% end %>
<% unless @campaign.customerfirstname.blank? %>
<li>
<p><strong>Customer First Name</strong><br>
<%= @campaign.customerfirstname %></p>
</li>
<% end %>
<% unless @campaign.customerlastname.blank? %>
<li>
<p><strong>Customer Last Name</strong><br>
<%= @campaign.customerlastname %></p>
</li>
<% end %>
<% unless @campaign.address.blank? %> <% unless @campaign.address.blank? %>
<li> <li>
<p><strong>Address</strong><br> <p><strong>Address</strong><br>