corn_starch 1.7.6 → 1.7.8

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
  SHA1:
3
- metadata.gz: 7acba4a9ae01214427e0b85f02197d10b7126e78
4
- data.tar.gz: 986945a30a6e2bbf650d3a069b431c1998bad82a
3
+ metadata.gz: 9c3dd334af974906c2c7bb4a2fee41a5ba3608fa
4
+ data.tar.gz: 9ea8a7ab77b4b301b143d71d12a228bdf8e67412
5
5
  SHA512:
6
- metadata.gz: 957e6bf952da84ad4464ca90536b6299f9e2581a2a262c4d78d7bd35d06f8e3439b19478bcf82c9cae49cccda7a3980e7e8b124f5db5092e4f4c15823bfa4201
7
- data.tar.gz: 2c1b88f885b9d25ed581a0b0fc2c9c2ce0ad53285c4ebdc3678a3ac787e14549a595f09cbcd6b4ecabeecfb066ebedfde63f376998e7fca8e2d38e51b74882e8
6
+ metadata.gz: dd0aff35ca5e3d80f16765e31b0ab1c69c94abb22bd17e13320e53abb393f3c085a815d63498310a09c2a642c42bfeed9466ef94fb2fa6333fe011dd340e89e4
7
+ data.tar.gz: 389ed3b5f39b0f90f4a79202c60ba7d6ceb8830eeb957a9fe3c41d6cecec459078a71e4656c31c3154fa7ce060b2fa6fa60cf9aff0c4312ed48abd4906a5c588
@@ -9,7 +9,7 @@ module CornStarch
9
9
 
10
10
  # Modal Tag
11
11
  def modal_tag params, &block
12
- render partial: 'corn_starch/layouts/modal', locals: { modal: params } do
12
+ render 'corn_starch/layouts/modal', locals: { modal: params } do
13
13
  yield params if block_given?
14
14
  end
15
15
  end
@@ -1,5 +1,5 @@
1
1
  <%# Modal %>
2
- <div class='modal' id='modal-<%= modal[:name] %>'>
2
+ <div class='modal' id='modal-<%= locals[:modal][:name] %>'>
3
3
  <div class='modal-content'>
4
4
  <%= yield %>
5
5
  </div>
@@ -9,6 +9,6 @@
9
9
  <script>
10
10
 
11
11
  <%# Init Modal %>
12
- $(document).ready(function() { modal_init(<%= modal[:name] %>); });
13
- $(document).on('page:load', function() { modal_init(<%= modal[:name] %>); });
12
+ $(document).ready(function() { modal_init(<%= locals[:modal][:name] %>); });
13
+ $(document).on('page:load', function() { modal_init(<%= locals[:modal][:name] %>); });
14
14
  </script>
@@ -1,3 +1,3 @@
1
1
  module CornStarch
2
- VERSION = '1.7.6'
2
+ VERSION = '1.7.8'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: corn_starch
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.7.6
4
+ version: 1.7.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eresse