releaf-core 3.0.2 → 3.0.3
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0bd0667aa1fffd4e7fd143dfa33983a318bbc7bbf522224b064410991f67deb1
|
4
|
+
data.tar.gz: 128e91a616263be4a7414ebb5717cb4caac549df9292d4ade4f004d879b978df
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 79c6f2444daddebf14c95b3a33ab9b89b26c5ad00217625d417b7ed21d25c962713db813364c66877ac9d629881c53d9e516c866c0f12000a5a347e3849466f5
|
7
|
+
data.tar.gz: 1742fd4de64251ea131a64806819fe3821f95fe787c1127708756dfeb759a41302ad4068b73a146223e7c87245c956ffecc18753c6a598ffab1993ae46681697
|
@@ -13,7 +13,7 @@ module Releaf::Builders::FormBuilder::FileFields
|
|
13
13
|
if object.send(name).present?
|
14
14
|
content += tag(:div, class: "value-preview") do
|
15
15
|
inner_content = tag(:div, class: "image-wrap") do
|
16
|
-
thumbnail = image_tag(object.send(name).thumb('
|
16
|
+
thumbnail = image_tag(object.send(name).thumb('400x400>').url, alt: '')
|
17
17
|
hidden_field("retained_#{name}") +
|
18
18
|
link_to(thumbnail, object.send(name).url, target: :_blank, class: :ajaxbox, rel: :image)
|
19
19
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: releaf-core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- CubeSystems
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-07-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|