tramway-admin 1.18.3 → 1.18.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/views/tramway/admin/shared/_input.html.haml +2 -0
- data/lib/tramway/admin/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3c145ad21aeccd67ca7e68acc7d3214a24b44a6a2c467b4536c022657e751eb1
|
4
|
+
data.tar.gz: 70ccdb237b65811c5646fd800682e07ae850e7d6f81e6603f1517b1b16abf1b7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 97e40417147cdfe00226d6e7a93c3fd6d0283fd505d471b013ac4ac56e3ee9ef3c3417ce4d26dfda562a31adbd24c2b9344e9b25f46e7303493b5f4fde0a11b4
|
7
|
+
data.tar.gz: 0d2983aeacac331f403da6e5a356717bf3bf60da2cb1a4a82fbf3e54827d6a7a7f368c2cf26fb18dd6d4a1d95c369cf44e81a8efb4ec6af226ab34f5f03b9028
|
@@ -6,6 +6,8 @@
|
|
6
6
|
- case type
|
7
7
|
- when :default
|
8
8
|
= form.input property, label: false, input_html: { name: "#{object}[#{property}]", id: "#{object}_#{property}", value: (form_object.send(property) || form_object.model.send(property) || value) }, selected: (form_object.model.send(property) || value)
|
9
|
+
- when :select
|
10
|
+
= form.input property, label: false, input_html: { name: "#{object}[#{property}]", id: "#{object}_#{property}", value: form_object.send(property) }, selected: (form_object.send(property) || value), collection: form_object.send("#{property}_collection")
|
9
11
|
- when :association
|
10
12
|
= form.association property, **association_params(form_object: form_object, property: property, value: value, object: object)
|
11
13
|
- when :polymorphic_association
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tramway-admin
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.18.
|
4
|
+
version: 1.18.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Pavel Kalashnikov
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-11-
|
11
|
+
date: 2019-11-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bootstrap-kaminari-views
|