trestle-mobility 1.1.0 → 1.1.1
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: cc2569edf0471dc159cb52143e1da86af8b3b3fa260a9d5fe611390cab8ddce1
|
4
|
+
data.tar.gz: 95fd2a759d8988e2b18aaedda74553aac38d6d396ff13638d830e5dbda3b8b4f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 729f35178c388ffaec7dcea6db28497f55630dbca306a437d1adf66a08ba0651747b60f2e2e5fdafbcf8e8622f5af88136c25faab7e69614bff672bbc3561298
|
7
|
+
data.tar.gz: 8fcbd78f6e6d7c68ddbad9fde4751af8f5bf97da79dc34eebc24c949428b293c1a1272802dd43c2e676944d9960e57090a7b791ea09e5a1823371afe52eefb4e
|
@@ -9,16 +9,10 @@
|
|
9
9
|
<% end %>
|
10
10
|
</ul>
|
11
11
|
<% locales.each do |locale, index| %>
|
12
|
-
<%
|
13
|
-
value = instance.public_send(field_name)
|
14
|
-
value = value.try(:to_json) if options[:json]
|
15
|
-
%>
|
16
|
-
|
17
12
|
<%=
|
18
13
|
form.raw_text_area(
|
19
14
|
"#{field_name}_#{locale}",
|
20
15
|
options.merge(
|
21
|
-
value: value,
|
22
16
|
class: "form-control mobility-field#{locale == selected ? '' : ' hidden'}",
|
23
17
|
placeholder: "#{label} (#{locale.upcase})",
|
24
18
|
data: { locale: locale }
|