tramway-admin 1.3 → 1.3.1
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 +1 -1
- data/lib/tramway/admin/version.rb +1 -1
- metadata +2 -22
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b38a914657ae53f7ebef4e5799148c777f87ea072887e1c17eefade8d4b79bf9
|
4
|
+
data.tar.gz: 98b2441a75df6d5cb9803b505b465dfbfab80b7df3ade54638662fe7f73358e0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 79bdc74f1a8f1ba17ce45acad3d9017562d3fce7360a3ffd45d95f3e3fd362d8241e81d8e5e61219b14f547505004a03d2cd833978eb9cac23965616d9cdc2f2
|
7
|
+
data.tar.gz: b08bde65aa1107cb59bf1ac72525199811c2beb468f4a6d33c8f4da1e20a28fa3accf02c595ac740785efd0caf719c2743a30f7ea8393d782fe159a4804043e0
|
@@ -4,6 +4,6 @@
|
|
4
4
|
- when :default
|
5
5
|
= form.input property, input_html: { name: "#{object}[#{property}]", id: "#{object}_#{property}", value: (form_object.model.send(property) || value) }, selected: (form_object.model.send(property) || value)
|
6
6
|
- when :association
|
7
|
-
= form.association property, input_html: { name: "#{object}[#{property}]", id: "#{object}_#{property}", value: (form_object.model.send("#{property}_id") || value) }, selected: (form_object.model.send("#{property}_id") || value)
|
7
|
+
= form.association property, input_html: { name: "#{object}[#{property}]", id: "#{object}_#{property}", value: (form_object.model.send("#{property}_id") || value) }, selected: (form_object.model.send("#{property}_id") || value)#, collection: property.to_s.camelize.constantize.active
|
8
8
|
- else
|
9
9
|
= form.input property, as: type, input_html: { name: "#{object}[#{property}]", id: "#{object}_#{property}", value: (form_object.model.send(property) || value) }
|
metadata
CHANGED
@@ -1,35 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tramway-admin
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 1.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Pavel Kalashnikov
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-09-
|
11
|
+
date: 2018-09-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
|
-
- !ruby/object:Gem::Dependency
|
14
|
-
name: tramway-user
|
15
|
-
requirement: !ruby/object:Gem::Requirement
|
16
|
-
requirements:
|
17
|
-
- - "~>"
|
18
|
-
- !ruby/object:Gem::Version
|
19
|
-
version: 1.0.3
|
20
|
-
- - ">="
|
21
|
-
- !ruby/object:Gem::Version
|
22
|
-
version: 1.0.3
|
23
|
-
type: :runtime
|
24
|
-
prerelease: false
|
25
|
-
version_requirements: !ruby/object:Gem::Requirement
|
26
|
-
requirements:
|
27
|
-
- - "~>"
|
28
|
-
- !ruby/object:Gem::Version
|
29
|
-
version: 1.0.3
|
30
|
-
- - ">="
|
31
|
-
- !ruby/object:Gem::Version
|
32
|
-
version: 1.0.3
|
33
13
|
- !ruby/object:Gem::Dependency
|
34
14
|
name: bootstrap-kaminari-views
|
35
15
|
requirement: !ruby/object:Gem::Requirement
|