109 lines
3.8 KiB
Plaintext
109 lines
3.8 KiB
Plaintext
<%= link_to 'Edit', edit_campaign_path(@campaign.listingcode) %> |
|
|
<%= link_to 'Back', campaigns_path %>
|
|
|
|
|
|
<div class="col-md-12">
|
|
<h1>
|
|
<%= @campaign.advertisername %>
|
|
</h1>
|
|
<p id="notice"><%= notice %></p>
|
|
</div>
|
|
|
|
<div class="col-md-4 col-md-offset-1 col-xs-6">
|
|
<span class="campaign-item">
|
|
<strong>Listing Code</strong>
|
|
<span><%= @campaign.listingcode %></span>
|
|
</span>
|
|
<span class="campaign-item">
|
|
<strong>Client Id</strong>
|
|
<span><%= @campaign.clientid %></span>
|
|
</span>
|
|
<span class="campaign-item">
|
|
<strong>Description</strong>
|
|
<span><%= @campaign.description %></span>
|
|
</span>
|
|
<span class="campaign-item">
|
|
<strong>Products & Services</strong>
|
|
<span><%= @campaign.productsandservices %></span>
|
|
</span>
|
|
<span class="campaign-item">
|
|
<strong>Websiteurl</strong>
|
|
<span><%= @campaign.websiteurl %></span>
|
|
</span>
|
|
<span class="campaign-item">
|
|
<strong>Client Services Rep</strong>
|
|
<span><%= @campaign.vpa %></span>
|
|
</span>
|
|
<span class="campaign-item">
|
|
<strong>Billing Code</strong>
|
|
<span><%= @campaign.billingcode %></span>
|
|
</span>
|
|
<span class="campaign-item">
|
|
<strong>Email Address</strong>
|
|
<span><%= @campaign.emailaddress %></span>
|
|
</span>
|
|
<span class="campaign-item">
|
|
<strong>Business Phone</strong>
|
|
<span><%= number_to_phone @campaign.businessphone %></span>
|
|
</span>
|
|
<span class="campaign-item">
|
|
<strong>Contact Phone</strong>
|
|
<span><%= number_to_phone @campaign.contactphone %></span>
|
|
</span>
|
|
<span class="campaign-item">
|
|
<strong>Customer First Name</strong>
|
|
<span><%= @campaign.customerfirstname %></span>
|
|
</span>
|
|
<span class="campaign-item">
|
|
<strong>Customer Last Name</strong>
|
|
<span><%= @campaign.customerlastname %></span>
|
|
</span>
|
|
<span class="campaign-item">
|
|
<strong>Address</strong>
|
|
<span><%= @campaign.address %></span>
|
|
</span>
|
|
<span class="campaign-item">
|
|
<strong>City, State, Zip</strong>
|
|
<span><%= @campaign.city %>, <%= us_states item: @campaign.state %>, <%= @campaign.zip %></span>
|
|
</span>
|
|
<span class="campaign-item">
|
|
<strong>Awards</strong>
|
|
<span><%= @campaign.awards %></span>
|
|
</span>
|
|
<span class="campaign-item">
|
|
<strong>Background</strong>
|
|
<span><%= @campaign.background %></span>
|
|
</span>
|
|
<span class="campaign-item">
|
|
<strong>Categories</strong>
|
|
<span><%= @campaign.categories %></span>
|
|
</span>
|
|
<span class="campaign-item">
|
|
<strong>Company Colors</strong>
|
|
<span><%= @campaign.companycolors %></span>
|
|
</span>
|
|
<span class="campaign-item">
|
|
<strong>Facebook URL</strong>
|
|
<span><%= @campaign.facebookurl %></span>
|
|
</span>
|
|
<span class="campaign-item">
|
|
<strong>Target Audience</strong>
|
|
<span><%= @campaign.targetaudience %></span>
|
|
</span>
|
|
<span class="campaign-item">
|
|
<strong>Tollfree Phone</strong>
|
|
<span><%= @campaign.tollfreephone %></span>
|
|
</span>
|
|
</div>
|
|
<div class="col-md-4 col-xs-6">
|
|
<ul>
|
|
<% @campaign.videolistings.each do |videolisting| %>
|
|
<%= render 'videolisting', videolisting: videolisting %>
|
|
<% end %>
|
|
<% if @campaign.videolistings.empty? %>
|
|
<li>No Video Listings for this Campaign.</li>
|
|
<% end %>
|
|
</ul>
|
|
</div>
|
|
|