make empty? blank?

This commit is contained in:
Tyrel Souza 2014-05-02 11:31:09 -04:00
parent d9ffe8ac86
commit ae8fde5a9e

View File

@ -17,19 +17,19 @@
<p><strong>Music Selection</strong><br>
<%= musicselection_list item:videolisting.musicselection %></p>
</li>
<% unless videolisting.clientprovidedscript.empty? %>
<% unless videolisting.clientprovidedscript.blank? %>
<li>
<p><strong>Client Provided Script</strong><br>
<%= videolisting.clientprovidedscript %></p>
</li>
<% end %>
<% unless videolisting.notes.empty? %>
<% unless videolisting.notes.blank? %>
<li>
<p><strong>Production Notes</strong><br>
<%= videolisting.notes %></p>
</li>
<% end %>
<% unless videolisting.asseturls.empty? %>
<% unless videolisting.asseturls.blank? %>
<li>
<p><strong>asseturls</strong><br />
<% videolisting.asseturls_array.each do |asset| %>