vidpush/app/views/campaigns/show.html.erb

98 lines
1.8 KiB
Plaintext
Raw Normal View History

<%= link_to 'Edit', edit_campaign_path(@campaign.clientid) %> |
<%= link_to 'Back', campaigns_path %>
<div class="col-md-2"></div>
<div class="col-md-4">
2014-04-07 21:24:08 +00:00
<p id="notice"><%= notice %></p>
<p>
<strong>Clientid:</strong>
<%= @campaign.clientid %>
</p>
<p>
<strong>Listingcode:</strong>
<%= @campaign.listingcode %>
</p>
<p>
<strong>Billingcode:</strong>
<%= @campaign.billingcode %>
</p>
<p>
<strong>Advertisername:</strong>
<%= @campaign.advertisername %>
</p>
<p>
<strong>Address1:</strong>
2014-04-21 15:54:28 +00:00
<%= @campaign.address %>
2014-04-07 21:24:08 +00:00
</p>
<p>
<strong>City:</strong>
<%= @campaign.city %>
</p>
<p>
<strong>State:</strong>
<%= @campaign.state %>
</p>
<p>
<strong>Zip:</strong>
<%= @campaign.zip %>
</p>
<p>
<strong>Emailaddress:</strong>
<%= @campaign.emailaddress %>
</p>
<p>
<strong>Customerfirstname:</strong>
<%= @campaign.customerfirstname %>
</p>
<p>
<strong>Customerlastname:</strong>
<%= @campaign.customerlastname %>
</p>
<p>
<strong>Businessphone:</strong>
<%= @campaign.businessphone %>
</p>
<p>
<strong>Description:</strong>
<%= @campaign.description %>
</p>
<p>
2014-04-07 21:24:08 +00:00
<strong>Contactphone:</strong>
<%= @campaign.contactphone %>
</p>
<p>
<strong>Websiteurl:</strong>
<%= @campaign.websiteurl %>
</p>
</div>
<div class="col-md-4">
2014-04-07 21:24:08 +00:00
<ul>
<% @campaign.videolistings.each do |videolisting| %>
<%= render 'videolisting', videolisting: videolisting %>
2014-04-07 21:24:08 +00:00
<% end %>
2014-04-08 19:27:38 +00:00
<% if @campaign.videolistings.empty? %>
<li>No Video Listings for this Campaign.</li>
2014-04-08 19:27:38 +00:00
<% end %>
2014-04-07 21:24:08 +00:00
</ul>
</div>
<div class="col-md-2"></div>