cutlass_js_rails 0.1.3 → 0.1.4

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: 24afb5c43746fc605ab92cad707d2928f1e86da3
4
- data.tar.gz: 52f6ff2bd4db9989b37269e8ca6dbe9815a2d8ba
3
+ metadata.gz: 815ea17db27b519bf3e50054980eb1e5aa79419a
4
+ data.tar.gz: 9591c72625cd2eded5ab86c418df833bd97cf0e1
5
5
  SHA512:
6
- metadata.gz: 33913f4b030ee559586ee482013ea5c1af67a75678071e76a77df2750f63ac3958e0f83834a7d9d9024b76b7f52e29b5ff7e4748e7e5387279aa8f1b92c7beb4
7
- data.tar.gz: 1f0afeacf74d0c6024e413f6cb043788bf1931b654d4204be1f369ae1f9eb48c9374b1334996dc621d9697429e8c5969377f01d92e81e953c7bbd12ab6820fa6
6
+ metadata.gz: 762ee6cf4c997d7f1c04559ecad4d61ebf80de0ab55d36c59d83ccd433d99227c9f9d090c7ce6e68f3025aac7da41a155e0278ddea68b9feca237dbff017fae9
7
+ data.tar.gz: 0c8ad1f242f9c51d0aa36779f449e641a566f93b625ce23cbb7428c5844df4cbedb48154c8e1f819bc0f32a400fd7630ed49951ff2789965de709da8c6ed62b5
@@ -1,2 +1,2 @@
1
1
  <% css_classes = (defined? css_classes) ? css_classes : '' %>
2
- <%= f.text_field field, class: "Cutlass-input-text js-birthday-input #{css_classes}", value: Chronic.parse(@user._date_of_birth, endian_precedence: [:little])&.strftime('%Y-%m-%d'), 'data-label': label, type: 'tel', 'data-always-active': true, 'data-error': @user.errors[field][0] %>
2
+ <%= f.text_field field, class: "Cutlass-input-text js-birthday-input #{css_classes}", value: Chronic.parse(@user._date_of_birth, endian_precedence: [:little])&.strftime('%Y-%m-%d'), 'data-label': label, type: 'tel', 'data-always-active': true, 'data-error': model.errors[field][0] %>
@@ -1,2 +1,2 @@
1
1
  <% css_classes = (defined? css_classes) ? css_classes : '' %>
2
- <%= f.select field, options, {}, { class: "Cutlass-input-select #{css_classes}", 'data-label': label, 'data-error': user.errors[field][0] } %>
2
+ <%= f.select field, options, {}, { class: "Cutlass-input-select #{css_classes}", 'data-label': label, 'data-error': model.errors[field][0] } %>
@@ -1,3 +1,3 @@
1
1
  <% css_classes = (defined? css_classes) ? css_classes : '' %>
2
2
  <% props = (defined? props) ? props.to_h : {} %>
3
- <%= f.text_field field, class: "Cutlass-input-text #{css_classes}", 'data-label': label, 'data-error': user.errors[field][0], **props %>
3
+ <%= f.text_field field, class: "Cutlass-input-text #{css_classes}", 'data-label': label, 'data-error': model.errors[field][0], **props %>
@@ -1,3 +1,3 @@
1
1
  module CutlassJsRails
2
- VERSION = "0.1.3"
2
+ VERSION = "0.1.4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cutlass_js_rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - chardos