about summary refs log tree commit diff stats
path: root/app/views/admin
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/admin')
-rw-r--r--app/views/admin/blogs/_form.html.haml8
1 files changed, 8 insertions, 0 deletions
diff --git a/app/views/admin/blogs/_form.html.haml b/app/views/admin/blogs/_form.html.haml index 625c85e..c3720ba 100644 --- a/app/views/admin/blogs/_form.html.haml +++ b/app/views/admin/blogs/_form.html.haml
@@ -39,4 +39,12 @@
39 = builder.label :_destroy, "Create record?" 39 = builder.label :_destroy, "Create record?"
40 .record-description-field 40 .record-description-field
41 = builder.text_area :description, placeholder: "record text" 41 = builder.text_area :description, placeholder: "record text"
42 .details-module.image-uploads
43 %h4 Images
44 - f.object.images.each do |image|
45 = image_tag image.variant(:thumb)
46 = f.hidden_field :images, multiple: true, value: image.signed_id
47 %pre= url_for image
48 %hr
49 = f.file_field :images, multiple: true
42 .details-module= f.submit 50 .details-module= f.submit