tramway-admin 1.7.5 → 1.7.6

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: 721195d0ba2eba879dac26f3d291f4a4d7273e16b803586b8935eebd656cf602
4
- data.tar.gz: bc43f0c0f24bb88761b53c4f6695eb658ac1d69b16c1117dd59b687123d53c34
3
+ metadata.gz: 0ac07bbfbf6424453b9d607a0ae426372ab6c76ddf51621ecfc5d30cfdac9d7c
4
+ data.tar.gz: ed842b99413e91d94024e5af35a3f9d0103c7a4e47b1510143c44d849b720e59
5
5
  SHA512:
6
- metadata.gz: 9242e904a1b08134afc477f030460d7faa42cf9e52646e50e4b8def0d252717d0b5f48d9c74773099cfec68533e8f1333fce252e6c30f53ecd0814e2711ccdbb
7
- data.tar.gz: 32619fc6f5a8e9ce358f0cb2ccae6406430de9c0ebd2e078e223aa4a1fd309f33975e683c62eabdf3f22fa0367ba55fdc4f9a2ded89b1f51bca17f48b52e1acd
6
+ metadata.gz: 021465d56534fe56c3b9d7d1a51ff0a2d0cc0bb7be5b3315cd12d1d373356afb72527184517d295944ee90b65e1e48e4ec7e7ad65361a7705263afa2d44754c9
7
+ data.tar.gz: 32c7a87104bf8c4ca83dfe57c57dc12d3ca19219b6c6516e4183ea176476e907a85f6e96b25dc231837811aac325d155548786f10a2d27f6f850c2bbc75e0a18
@@ -30,6 +30,7 @@
30
30
  %tr
31
31
  %td
32
32
  = model_class.human_attribute_name association.name
33
+ = link_to fa_icon(:plus), new_record_path(model: association.class_name, redirect: current_model_record_path(object)), class: 'btn btn-primary'
33
34
  %td{ colspan: 2 }
34
35
  %table.table.table-striped.table-bordered
35
36
  - object.send(association.name).each do |association_object|
@@ -38,5 +39,3 @@
38
39
  = association_object.id
39
40
  %td
40
41
  = association_object.name
41
- %td
42
- = link_to fa_icon(:plus), new_record_path(model: association.class_name, redirect: current_model_record_path(object)), class: 'btn btn-primary'
@@ -1,5 +1,5 @@
1
1
  module Tramway
2
2
  module Admin
3
- VERSION = '1.7.5'
3
+ VERSION = '1.7.6'
4
4
  end
5
5
  end
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.7.5
4
+ version: 1.7.6
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-01-03 00:00:00.000000000 Z
11
+ date: 2019-01-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bootstrap-kaminari-views