polymer-rails-forms 0.3.01 → 0.3.02
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/assets/rails-forms/rails-form-helpers.html +3 -3
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 010d2a3981c82bf7415709aaa3b5fa8831bf4171
|
|
4
|
+
data.tar.gz: 3de8dc0a97cffa4553e8ecca66eae67a63958d9b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4b44eddf9e754adec881fe87597542302291deb3d563ef183fda071416a63a4b287bc45daf3511c5dee1976b295196ca30dd6eae2fa4dd423da1f499d23a6fda
|
|
7
|
+
data.tar.gz: 7bfbcd82788710f3bbd427ccc02e30878dd0ac1fc14841b70fe990ccc3a5e7c61bdbab2975fc7b020f86d8be5f1511cce1ca1a94ee0224b1785131a11e142824
|
|
@@ -111,8 +111,8 @@
|
|
|
111
111
|
return this.data
|
|
112
112
|
},
|
|
113
113
|
|
|
114
|
-
listItemClassName: function(
|
|
115
|
-
return this.key + "-" +
|
|
114
|
+
listItemClassName: function(index){
|
|
115
|
+
return this.key + "-" + index;
|
|
116
116
|
},
|
|
117
117
|
|
|
118
118
|
/* Effects */
|
|
@@ -179,7 +179,7 @@
|
|
|
179
179
|
/* Creating Element */
|
|
180
180
|
//TODO: Wow, this seems like it could be way simpler.
|
|
181
181
|
createListItem: function(obj, structure, data){
|
|
182
|
-
var className = this.listItemClassName(obj),
|
|
182
|
+
var className = this.listItemClassName(data.indexOf(obj)),
|
|
183
183
|
container = this.createWithAttributes("div", {'class': "list-item-display"});
|
|
184
184
|
|
|
185
185
|
if (structure.display_fields){
|