cutlass_js_rails 0.1.10 → 0.1.11
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/views/cutlass/_select_field.html.erb +2 -1
- data/lib/cutlass_js_rails/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9b87614eeacbb6d3798d26b573d6b73bc72f48a8
|
4
|
+
data.tar.gz: a1ec04f31a04e1092e83e711ce3292efb37c1dfe
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 10dd4cf2fdef3a8d731fdc7455632b1a496f2012025becddc08e77396689b6c178a210e5a8db0643d8b94574331733701b1b4e8525bdec0027f5b13110081027
|
7
|
+
data.tar.gz: d33e07ccf64ea7271933e1dc32b517c32d67ec837a628b0b9e1e4e9c25c488d5f6b9ec0365d453325053dbd9ed428c7f16e80061753858a3594d9d40209b1728
|
@@ -1,2 +1,3 @@
|
|
1
1
|
<% css_classes = (defined? css_classes) ? css_classes : '' %>
|
2
|
-
|
2
|
+
<% props = local_assigns.fetch(:props, {}) %>
|
3
|
+
<%= f.select field, options, props, { class: "Cutlass-input-select #{css_classes}", 'data-label': label, 'data-error': model.errors[field][0] } %>
|
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.
|
4
|
+
version: 0.1.11
|
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-
|
11
|
+
date: 2016-06-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|