slim-rails 3.6.2 → 3.6.3

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
  SHA256:
3
- metadata.gz: 23256a5c386378763c0d2b7a8b521c0678266b8e5e4c1f6a7d979d6aa1a324eb
4
- data.tar.gz: af9ad07273823090a9f658d546dcd4377e1d1e4a5d1b3dc3cfc8295d32b560aa
3
+ metadata.gz: f5fb2e2fadfea78a5815dfb50846528d1805915e7f8fbc0061ba149e47ff6fdf
4
+ data.tar.gz: 0f1f0b38ae601fd5c24e498bf577c3ae10f33397d78e211e42d0429aea6a58e0
5
5
  SHA512:
6
- metadata.gz: be908a61dc57ec4577bb12a5032cb12ff225537cd0fb1981e62454c1eb7537f16cf04518ba5d928352f94dc0d71e53649f411aca5e87bb50949a634849112cd3
7
- data.tar.gz: aff344cd89822d7410df81f8704a06558cafddb60519ae3f054a0315be52ab272f4d870d2f2e66324cbfce12c9c56847a07880e0a0e4133a98b8e8f5e3539260
6
+ metadata.gz: c0f6ca2288d30efa2bfc772610a99bf1815baee1f394485404767d02caaaac16928f25337e1cdd9e8182f0bfd8ba0b18cfd30c7e3492de9a4096b299d94aa97d
7
+ data.tar.gz: b7c93eb2b1176f04bb35eabf34dbb5e9088d1d5c5feb0e633c6e12b98124101261fb3de9bbe3829fe76c27b419167b1c695f897bb3dac4f9ce4ba60962853a29
@@ -1,9 +1,9 @@
1
- = form_with(model: @<%= model_resource_name %>) do |form|
2
- - if @<%= singular_table_name %>.errors.any?
1
+ = form_with(model: <%= model_resource_name %>) do |form|
2
+ - if <%= singular_table_name %>.errors.any?
3
3
  div style="color: red"
4
- h2 = "#{pluralize(@<%= singular_table_name %>.errors.count, "error")} prohibited this <%= singular_table_name %> from being saved:"
4
+ h2 = "#{pluralize(<%= singular_table_name %>.errors.count, "error")} prohibited this <%= singular_table_name %> from being saved:"
5
5
  ul
6
- - @<%= singular_table_name %>.errors.each do |error|
6
+ - <%= singular_table_name %>.errors.each do |error|
7
7
  li = error.full_message
8
8
 
9
9
  <% attributes.each do |attribute| -%>
@@ -1,5 +1,5 @@
1
1
  module Slim
2
2
  module Rails
3
- VERSION = "3.6.2"
3
+ VERSION = "3.6.3"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: slim-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.6.2
4
+ version: 3.6.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Leonardo Almeida
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2023-03-09 00:00:00.000000000 Z
12
+ date: 2023-10-24 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: actionpack
@@ -229,7 +229,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
229
229
  - !ruby/object:Gem::Version
230
230
  version: '0'
231
231
  requirements: []
232
- rubygems_version: 3.4.7
232
+ rubygems_version: 3.4.10
233
233
  signing_key:
234
234
  specification_version: 4
235
235
  summary: Slim templates generator for Rails