|
|
@@ -2,12 +2,12 @@
|
2
|
2
|
<%= render 'admin_panel/sidebar_nav' %>
|
3
|
3
|
<div class="span9">
|
4
|
4
|
<div class="page-header">
|
5
|
|
- <h1>Blog Posts <%= link_to 'Upload File', new_upload_path, :class => 'btn btn-primary btn-mini' %></h1>
|
|
5
|
+ <h1>Files <%= link_to 'Upload File', new_upload_path, :class => 'btn btn-primary btn-mini' %></h1>
|
6
|
6
|
</div>
|
7
|
7
|
<ul class="thumbnails">
|
8
|
8
|
<% @uploads.each do |upload| %>
|
9
|
9
|
<li class="span3" style="">
|
10
|
|
- <div class="thumbnail">
|
|
10
|
+ <div class="thumbnail" style="height: 250px;">
|
11
|
11
|
<% if upload.file.content_type.start_with?('image') && upload.file.thumb.to_s != nil %>
|
12
|
12
|
<%= image_tag upload.file.thumb.to_s %>
|
13
|
13
|
<% else %>
|