fix for letting ad_banner display even when file in not uploaded
This commit is contained in:
1 parent
d646a9dff1
commit
0fe5baf93f
2 files changed
+2
-2
No files matched your search
@@ -58,7 +58,7 @@
|
||||
cursor: pointer;
|
||||
}
|
||||
.select-role {
|
||||
display:none;
|
||||
display:none;
|
||||
padding: 10px 0;
|
||||
}
|
||||
.file-upload {
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<li class="span3" id = 'asd'>
|
||||
<%= image_tag ad_image.file %>
|
||||
<%= image_tag ad_image.file rescue nil%>
|
||||
<p>
|
||||
<%= ad_image.display? ? '[Showing]' : '[NotShawing]' %>
|
||||
<%= "#{ad_image.post_date ||'NeedReset' }~#{ad_image.unpost_date || 'NeedReset'}" %>
|
||||
|
||||
Reference in new issue
Block a user