snaptable 2.0.2 → 2.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/views/snaptable/_search_field.html.erb +2 -1
- data/app/views/snaptable/base.html.erb +1 -1
- data/lib/snaptable/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1f5957fece386147993ccc0cf9bd674bd5ce4c27
|
4
|
+
data.tar.gz: 64b6ff524003408f620b9e369debb289bcae2c99
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 73ede377d2a08ba3f0357918e6bc7d9930ebd6dd90de8d99ca751b8c67499c0ccdb86af7748ea77747aa1f2a308f16c069545d29a9506db30f87762164fb0f92
|
7
|
+
data.tar.gz: '09894bcb1c16b9f63a2ceb255d2c27db842d93de36685074347b1a54ab2a592a1017ac986215d90198cc946f4021f4135f39ad369caca05317b6c0a5d95320f4'
|
@@ -1,7 +1,8 @@
|
|
1
1
|
<div class="search">
|
2
2
|
<p><%= t("table.search.title") %></p>
|
3
3
|
<%= form_tag nil, method: :get, remote: true do %>
|
4
|
+
<%= hidden_field_tag :table, presenter.table_name %>
|
4
5
|
<%= search_field_tag :query, params[:query] %>
|
5
6
|
<%= submit_tag t("table.search.submit") %>
|
6
7
|
<% end %>
|
7
|
-
</div>
|
8
|
+
</div>
|
@@ -1,5 +1,5 @@
|
|
1
1
|
<div class="snaptable <%= presenter.table_name %>">
|
2
|
-
<%= render 'snaptable/search_field' if presenter.options[:search] == true %>
|
2
|
+
<%= render 'snaptable/search_field', presenter: presenter if presenter.options[:search] == true %>
|
3
3
|
|
4
4
|
<div class="table_buttons">
|
5
5
|
<%= render presenter.instance_variable_get(:@buttons) unless presenter.options[:buttons] == false %>
|
data/lib/snaptable/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: snaptable
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- khcr
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-03-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -130,7 +130,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
130
130
|
version: '0'
|
131
131
|
requirements: []
|
132
132
|
rubyforge_project:
|
133
|
-
rubygems_version: 2.
|
133
|
+
rubygems_version: 2.6.10
|
134
134
|
signing_key:
|
135
135
|
specification_version: 4
|
136
136
|
summary: A gem that generate HTML tables from your models in order to display them
|