diff options
author | Star Rauchenberger <fefferburbia@gmail.com> | 2023-10-17 17:20:56 -0400 |
---|---|---|
committer | Star Rauchenberger <fefferburbia@gmail.com> | 2023-10-17 17:20:56 -0400 |
commit | 293448fa36b0fc690671c9da440dd4dff22b9051 (patch) | |
tree | 1a0a08796c117826120ada9b1b483a74bd09ba7e /app/views/admin/blogs | |
parent | 745b9e5485100c98cc73d1ff90661b43ade9404a (diff) | |
download | thoughts-293448fa36b0fc690671c9da440dd4dff22b9051.tar.gz thoughts-293448fa36b0fc690671c9da440dd4dff22b9051.tar.bz2 thoughts-293448fa36b0fc690671c9da440dd4dff22b9051.zip |
Prettied up images sidebar in admin panel a bit
Diffstat (limited to 'app/views/admin/blogs')
-rw-r--r-- | app/views/admin/blogs/_form.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/admin/blogs/_form.html.haml b/app/views/admin/blogs/_form.html.haml index c3720ba..f64ebe5 100644 --- a/app/views/admin/blogs/_form.html.haml +++ b/app/views/admin/blogs/_form.html.haml | |||
@@ -44,7 +44,7 @@ | |||
44 | - f.object.images.each do |image| | 44 | - f.object.images.each do |image| |
45 | = image_tag image.variant(:thumb) | 45 | = image_tag image.variant(:thumb) |
46 | = f.hidden_field :images, multiple: true, value: image.signed_id | 46 | = f.hidden_field :images, multiple: true, value: image.signed_id |
47 | %pre= url_for image | 47 | %pre= rails_blob_url(image) |
48 | %hr | 48 | %hr |
49 | = f.file_field :images, multiple: true | 49 | = f.file_field :images, multiple: true |
50 | .details-module= f.submit | 50 | .details-module= f.submit |