cutlass_js_rails 0.1.8 → 0.1.10

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: a234571e5a0cf832f2d726c9c4a616de319c9de1
4
- data.tar.gz: 6eaf28eadd5784e9cf3b7dc1281ef05015db6528
3
+ metadata.gz: a10cb2c78935ad9643115c61e73be86c8b184346
4
+ data.tar.gz: e2c19cbee4613f536d17ddb0f513338a295cd267
5
5
  SHA512:
6
- metadata.gz: 2f8d5a306b2067ad9bcc59055e35bebbe609197e0ff1ee85a4c9bf4f346f8233226b8742fe5d9c892222dbfd10c6dcec92ac494199b02b7b0893153113a76fa6
7
- data.tar.gz: ab02730144a8b771b5875b5d0681fe9a7bb5b4f2f1e75445b968081a0c516d6efe00a8d582a62e8dbe50c5dfbf59d906f263ad8726698ffdeb6dfdf0e5147209
6
+ metadata.gz: f75dbbade0acdcbc6e5aac91e41081acc59834f53c94f12e9cb8c1f11e1f8deaaf6935ef8c0ef537fa7e716db03a764372ea73ff7a6c904e9c0d1c466c394e64
7
+ data.tar.gz: 96099e1dba2a5b04f2f4d6ea1ab2140ede69b8a06947fcfb629b25c05d6270ef666358345e9270ff5bea59234964a322c17911831910d446f168facf64b0edd0
@@ -1,2 +1,3 @@
1
1
  <% css_classes = (defined? css_classes) ? css_classes : '' %>
2
- <%= f.text_field field, class: "Cutlass-input-text js-birthday-input #{css_classes}", 'data-label': label, type: 'tel', 'data-always-active': true, 'data-error': model.errors[field][0] %>
2
+ <% props = local_assigns.fetch(:props, {}) %>
3
+ <%= f.text_field field, class: "Cutlass-input-text #{css_classes}", 'data-label': label, type: 'tel', 'data-always-active': true, 'data-error': model.errors[field][0], **props %>
@@ -1,3 +1,3 @@
1
1
  module CutlassJsRails
2
- VERSION = "0.1.8"
2
+ VERSION = '0.1.10'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cutlass_js_rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.8
4
+ version: 0.1.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - chardos
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-06-07 00:00:00.000000000 Z
11
+ date: 2016-06-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler