<h2>ULTIMOS CURSOS</h2>
<hr/>
<% tracks.each do |track| %>
	<div class="col-md-3">
		<% if !track.contents.first.nil? %>
			<img src="<%= track.contents.first.file.url(:thumb) %>" style="width: 100%; max-height: 180px;" />
		<% else %> 
			<img src="/track_thumb.png" style="width: 100%;max-height: 180px;" />
		<% end %>
		<a href="<%= track_url(track) %>"><h5><%= track.title %></h5></a>
	</div>
<% end %>
<h2>ULTIMOS CURSOS</h2>
<hr/>
<% tracks.each do |track| %>
	<div class="col-md-3">
		<div style="height: 180px; overflow: hidden;">
			<% if !track.contents.first.nil? %>
				<img src="<%= track.contents.first.file.url %>" style="height:100%;" />
			<% else %> 
				<img src="/track_thumb.png" style="width: 100%;" />
			<% end %>
		</div>
		<a href="<%= track_url(track) %>"><h5><%= track.title %></h5></a>
	</div>
<% end %>
Update thumbnail display at index
Update thumbnail display at index
