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="col-md-8">
<%= frm.input :advertisername,
label: 'Advertiser Name',
label: 'Business Name',
hint: "The name of the company." %>
<%= frm.input :listingcode,
label: 'Listing Code',
hint: "Please provide the unique opportunity id." %>
as: :hidden %>
<%= frm.input :description,
label: 'Description',
as: 'text',
@ -33,24 +33,15 @@
label: 'Website URL',
hint: "Used for script research and may be used in the video if they are including websites in the video graphics." %>
<%= frm.input :vpa,
label: 'Client Service 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." %>
label: 'MIS Rep' %>
<%= frm.input :vpa_email,
label: 'Client Service 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,
label: 'MIS Rep Email' %>
<%= frm.input :emailaddress,
label: 'Email Address' %>
<%= frm.input :businessphone,
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,
label: 'Address' %>
<%= frm.input :city,
@ -60,7 +51,6 @@
collection: us_states%>
<%= frm.input :zip,
label: 'ZIP' %>
<%= frm.input :awards,
label: 'Awards',
hint: "Used in script and video research." %>

View File

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

View File

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

View File

@ -34,22 +34,16 @@
<% end %>
<% unless @campaign.vpa.blank? %>
<li>
<p><strong>Client Services Rep</strong><br>
<p><strong>MIS Rep</strong><br>
<%= @campaign.vpa %></p>
</li>
<% end %>
<% unless @campaign.vpa_email.blank? %>
<li>
<p><strong>Client Services Rep Email</strong><br>
<p><strong>MIS Rep Email</strong><br>
<%= @campaign.vpa_email %></p>
</li>
<% end %>
<% unless @campaign.billingcode.blank? %>
<li>
<p><strong>Billing Code</strong><br>
<%= @campaign.billingcode %></p>
</li>
<% end %>
<% unless @campaign.emailaddress.blank? %>
<li>
<p><strong>Email Address</strong><br>
@ -62,24 +56,6 @@
<%= number_to_phone @campaign.businessphone %></p>
</li>
<% 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? %>
<li>
<p><strong>Address</strong><br>