rondo_form 0.2.2 → 0.2.3

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ad2d01fb9c206a3f7942241492eee9ba969f10483a9a3a2f30d53d8fad04186c
4
- data.tar.gz: 81567ac3ffe29883945dcf5b34855796570d16be438cf21a39893a2882c4af55
3
+ metadata.gz: 86f07b4f93af7d78f2dcdedffbbe08adac02e2c9e5cb5f366fc3da28e941062e
4
+ data.tar.gz: bb7732b21d74698061d40289063caf50269b500a5291e78453a86560bacdc41c
5
5
  SHA512:
6
- metadata.gz: 45b7754068730e619cba9d2d4433e3ab876e2c468d8176c324ad744ef1148efb76a723719819660cd0eebe8f03f9db575aa80785dd539805d8e94b590bab6f32
7
- data.tar.gz: c2cbb54fa7d4a4d33ab66b78096df1e8b72dc10bea32374471b49abc71adf15b00720d5f04b8500558f5cbc6b49939f161b75e4c7962c1b5abe29af1ad777d50
6
+ metadata.gz: ce5ed6ea6cb956aeaadbc3aaae94c8a7c9b3f8f74289e7fc154212e4a0257a97697837c1a95847990809d20da4e6012acdb5384b96e9f02e0a5248e2bef4508f
7
+ data.tar.gz: b060c7f8b3d64d1543a8c60330852c4365ceeb0e42e04f6cb419d6013e7ea020144233c6985ca39c4c235a5e5b5d9da1d2d67495712c0e72df056550849cb6ae
data/README.md CHANGED
@@ -10,7 +10,7 @@ Install the gem and add to the application's Gemfile by executing:
10
10
 
11
11
  Or inside the Gemfile add the following
12
12
 
13
- $ gem 'rondo_form', '~> 0.2.2'
13
+ $ gem 'rondo_form', '~> 0.2.3'
14
14
 
15
15
  Run the installation task:
16
16
 
@@ -65,7 +65,7 @@ In your `_task_fields` partial:
65
65
 
66
66
  _Note_:
67
67
  - Stimulus controller is `nested-rondo`, so you need to declare the element with `data-controller="nested-rondo"`.
68
- - You must add `data-nested-rondo-target="fieldContain"` to an element, that wraps all nested fields, the new field will be prepended to this element.
68
+ - You must add `data-nested-rondo-target="fieldContain"` to an element, that wraps all nested fields, the new field will be appended to this element.
69
69
 
70
70
  ## Contributing
71
71
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module RondoForm
4
- VERSION = "0.2.2"
4
+ VERSION = "0.2.3"
5
5
  end
@@ -55,8 +55,8 @@ module RondoForm
55
55
  hidden_div = content_tag("template", id: "#{model_name}_fields_template", data: {'nested-rondo_target': 'template'}) do
56
56
  render_association(association, f, new_object)
57
57
  end
58
+ hidden_div.html_safe + link_to(name, '', html_options )
58
59
  end
59
- hidden_div.html_safe + link_to(name, '', html_options )
60
60
  end
61
61
 
62
62
  # :nodoc:
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rondo_form
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - hungle00
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-07-04 00:00:00.000000000 Z
11
+ date: 2023-08-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: railties