govuk_admin_template 4.4.1 → 4.4.2
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: 5b001638272059fb392e22f917167507d93bdd6f
|
4
|
+
data.tar.gz: 06d2a2beb96487cc4fdc35c7fe01e097ed78b491
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ca2a85325585a860eb8efa6d8b9024e466ff684b27ca032fbbdfb92b7a3efa2f047c3a2eaeab6fbf90edbedd12f8165c08a8fafaa5b269173d78cd28a144d1bf
|
7
|
+
data.tar.gz: 1869aaae180183e1ed71a5ca1c999785b1a4f51fbd23a29cfa361bc878c114498631836178c4317e43d7f0309297c15695213bb6cceeed27afc1435e3d6feab0
|
data/CHANGELOG.md
CHANGED
@@ -5,9 +5,8 @@
|
|
5
5
|
%>
|
6
6
|
<tr class="if-no-js-hide table-header-secondary">
|
7
7
|
<td colspan="<%= colspan %>">
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
</form>
|
8
|
+
<%=
|
9
|
+
render partial: 'govuk_admin_template/table_filter_form', locals: { placeholder: placeholder, filter_id: filter_id }
|
10
|
+
%>
|
12
11
|
</td>
|
13
12
|
</tr>
|
@@ -0,0 +1,8 @@
|
|
1
|
+
<%
|
2
|
+
placeholder ||= "Filter table"
|
3
|
+
filter_id ||= SecureRandom.uuid
|
4
|
+
%>
|
5
|
+
<form>
|
6
|
+
<label for="<%= filter_id %>" class="rm"><%= placeholder %></label>
|
7
|
+
<input id="<%= filter_id %>" type="text" class="form-control normal js-filter-table-input" placeholder="<%= placeholder %>">
|
8
|
+
</form>
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: govuk_admin_template
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.4.
|
4
|
+
version: 4.4.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- GOV.UK Dev
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-11-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -173,6 +173,7 @@ files:
|
|
173
173
|
- app/controllers/govuk_admin_template/style_guide_controller.rb
|
174
174
|
- app/views/govuk_admin_template/_govspeak_help.html.erb
|
175
175
|
- app/views/govuk_admin_template/_table_filter.html.erb
|
176
|
+
- app/views/govuk_admin_template/_table_filter_form.html.erb
|
176
177
|
- app/views/govuk_admin_template/style_guide/index.html.erb
|
177
178
|
- app/views/layouts/govuk_admin_template.html.erb
|
178
179
|
- config/locales/simple_form.en.yml
|