template_form 0.4.9 → 0.4.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/template_form/form_helper.rb +1 -1
- 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: ef9fc6326ea7cd7210b165050888c8136bcdbba4e98e0a9a0d7b46adfb2d34af
|
4
|
+
data.tar.gz: 759f0ef15e2c720380cb0c3fd61b49010300b5b8ea80148c4ab1bd1e4e1b151e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d1c8b97b56fa3c2f2bf18bed52361d345e7e850b165775f99b403ee5dee1e09301205af0b3ced5ab24bfc4a387879e6825c6c09e776600506f9dad78534c2745
|
7
|
+
data.tar.gz: c375b7b0aa1505bb25f302c53e6a3e6cfa07bbc4a60b925084c6d1522ea9fe2c33c4d590f3dc201ae1e7835beee42c658833158f5b4cd3625a0b92f9e8db6387
|
@@ -3,7 +3,7 @@ require 'template_form/form_builder'
|
|
3
3
|
module TemplateForm
|
4
4
|
module FormHelper
|
5
5
|
|
6
|
-
def template_form_with(model:
|
6
|
+
def template_form_with(model: false, scope: nil, url: nil, format: nil, **options, &block)
|
7
7
|
options[:builder] = TemplateForm::FormBuilder
|
8
8
|
options[:view] = self
|
9
9
|
|
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.10
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andy Stewart
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-10-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: actionpack
|