diff options
Diffstat (limited to 'app/views/assets/show.html.erb')
| -rw-r--r-- | app/views/assets/show.html.erb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/assets/show.html.erb b/app/views/assets/show.html.erb index a64987c..694be5a 100644 --- a/app/views/assets/show.html.erb +++ b/app/views/assets/show.html.erb | |||
| @@ -6,7 +6,7 @@ | |||
| 6 | <table> | 6 | <table> |
| 7 | <tr> | 7 | <tr> |
| 8 | <td>Thumbnail</td> | 8 | <td>Thumbnail</td> |
| 9 | <td><%= image_tag @asset.upload.url(:medium) %></td> | 9 | <td><%= image_tag @asset.upload.url(:medium), style: "max-width: 300px; max-height: 300px;" %></td> |
| 10 | </tr> | 10 | </tr> |
| 11 | <tr> | 11 | <tr> |
| 12 | <td>Public Path</td> | 12 | <td>Public Path</td> |
| @@ -20,4 +20,4 @@ | |||
| 20 | <td>Size</td> | 20 | <td>Size</td> |
| 21 | <td><%= "#{@asset.upload.size/1024} KB" %></td> | 21 | <td><%= "#{@asset.upload.size/1024} KB" %></td> |
| 22 | </tr> | 22 | </tr> |
| 23 | </table> \ No newline at end of file | 23 | </table> |
