smarter_listing 0.2.6 → 0.2.7
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 06134f57753d729ac8c612feb6f64b0b46d7a279
|
4
|
+
data.tar.gz: d4fc6111871b0c0078013f836a29ccb9fad09288
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bb22f01aa505fc6cc79dfc2110c1f535ba70997d7a517cf967374697fb46dfedf74503766b267693a6239ab7b96b7d185174f6c11f3e2d547b655d37047a7f86
|
7
|
+
data.tar.gz: bd931aa955afb0e6ebd64b73ef511253bcc8092b60d6a7f44c236e0f42cc6aa7d458b3165adb12bee8dc0cb29a2fd2d5f5cc7eb555d903b503d622815deb7e08
|
@@ -0,0 +1,5 @@
|
|
1
|
+
<%= smart_listing_render(model.name.tableize) %>
|
2
|
+
<script type="text/javascript">
|
3
|
+
var smart_listing = $('#<%= collection_sym %>').smart_listing();
|
4
|
+
smart_listing.edit(<%= resource.id %>, "<%= escape_javascript(render(partial: "#{resource_view_path}/form.html", locals: {object: resource})) %>");
|
5
|
+
</script>
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: smarter_listing
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Michael Sprauer
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-03-
|
11
|
+
date: 2015-03-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -68,6 +68,7 @@ files:
|
|
68
68
|
- app/views/smarter_listing/copy.js.erb
|
69
69
|
- app/views/smarter_listing/create.js.erb
|
70
70
|
- app/views/smarter_listing/destroy.js.erb
|
71
|
+
- app/views/smarter_listing/edit.html.erb
|
71
72
|
- app/views/smarter_listing/edit.js.erb
|
72
73
|
- app/views/smarter_listing/index.js.erb
|
73
74
|
- app/views/smarter_listing/new.js.erb
|