fix for pic
This commit is contained in:
parent
a0a0a92781
commit
5d72beeb80
|
@ -9,7 +9,7 @@
|
||||||
<tbody>
|
<tbody>
|
||||||
<% @classes.each do |clas| %>
|
<% @classes.each do |clas| %>
|
||||||
<tr>
|
<tr>
|
||||||
<% if !clas.course_pic.url.empty? %>
|
<% if !clas.course_pic.url.nil? %>
|
||||||
<td><img width="150px" src="<%= clas.course_pic.thumb.url %>" /></td>
|
<td><img width="150px" src="<%= clas.course_pic.thumb.url %>" /></td>
|
||||||
<% else %>
|
<% else %>
|
||||||
<td> </td>
|
<td> </td>
|
||||||
|
|
Loading…
Reference in New Issue