template_form 0.4.10 → 0.4.12
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/lib/template_form/form_builder.rb +1 -0
- data/lib/template_form/templates/bulma/select_input.html.erb +1 -1
- data/lib/template_form/templates/bulma_horizontal/grouped_select_input.html.erb +2 -2
- data/lib/template_form/templates/bulma_horizontal/select_input.html.erb +2 -2
- data/lib/template_form/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f5f2cf3168c27415bf3ac123a01a787df44d5619b2e4609ed1dceed3d93d1000
|
4
|
+
data.tar.gz: 2114c0cdea916ce28cb317bcf81a48bec8829891fd6418ed60179fe5cc348c0a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d97036f8062989a917605297bc1f3227df8179c35d53aaa5548e401b27635fbc42ba57bc6c91fd58a8e8af63e2b54d9ba86f7258e3b464d5e5a6b551483d0157
|
7
|
+
data.tar.gz: 9079c9237e978ea0013b0fe88f33a106c26564bad9993a517c68c3eb2fa29233ee3d2aaf3852f1a6f13a96bcffbbd3f02cb15f766df6bccf57559ca58cd17f4d
|
@@ -1,7 +1,7 @@
|
|
1
|
-
<div class="field is-horizontal <%=
|
1
|
+
<div class="field is-horizontal <%= html_options.delete(:field_class) %>">
|
2
2
|
|
3
3
|
<% if has_label %>
|
4
|
-
<div class="field-label <%=
|
4
|
+
<div class="field-label <%= html_options.delete(:field_label_class) || 'is-normal' %>">
|
5
5
|
<%- label_options[:class] << ' label' %>
|
6
6
|
<%- label_options[:class] << ' required' if html_options.delete(:required) %>
|
7
7
|
<%= label attribute_name, label_text, label_options %>
|
@@ -1,7 +1,7 @@
|
|
1
|
-
<div class="field is-horizontal <%=
|
1
|
+
<div class="field is-horizontal <%= html_options.delete(:field_class) %>">
|
2
2
|
|
3
3
|
<% if has_label %>
|
4
|
-
<div class="field-label <%=
|
4
|
+
<div class="field-label <%= html_options.delete(:field_label_class) || 'is-normal' %>">
|
5
5
|
<%- label_options[:class] << ' label' %>
|
6
6
|
<%- label_options[:class] << ' required' if html_options.delete(:required) %>
|
7
7
|
<%= label attribute_name, label_text, label_options %>
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: template_form
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.12
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andy Stewart
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2025-06-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: actionpack
|