about summary refs log tree commit diff stats
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/assets/stylesheets/admin/layout.scss1
-rw-r--r--app/views/admin/blogs/_form.html.haml2
2 files changed, 2 insertions, 1 deletions
diff --git a/app/assets/stylesheets/admin/layout.scss b/app/assets/stylesheets/admin/layout.scss index 9585414..dbf84d2 100644 --- a/app/assets/stylesheets/admin/layout.scss +++ b/app/assets/stylesheets/admin/layout.scss
@@ -213,6 +213,7 @@ body {
213 pre { 213 pre {
214 overflow: auto; 214 overflow: auto;
215 max-width: 100%; 215 max-width: 100%;
216 padding-bottom: 1em;
216 } 217 }
217} 218}
218 219
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