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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f5fb2e2fadfea78a5815dfb50846528d1805915e7f8fbc0061ba149e47ff6fdf
|
4
|
+
data.tar.gz: 0f1f0b38ae601fd5c24e498bf577c3ae10f33397d78e211e42d0429aea6a58e0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c0f6ca2288d30efa2bfc772610a99bf1815baee1f394485404767d02caaaac16928f25337e1cdd9e8182f0bfd8ba0b18cfd30c7e3492de9a4096b299d94aa97d
|
7
|
+
data.tar.gz: b7c93eb2b1176f04bb35eabf34dbb5e9088d1d5c5feb0e633c6e12b98124101261fb3de9bbe3829fe76c27b419167b1c695f897bb3dac4f9ce4ba60962853a29
|
@@ -1,9 +1,9 @@
|
|
1
|
-
= form_with(model:
|
2
|
-
- if
|
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(
|
4
|
+
h2 = "#{pluralize(<%= singular_table_name %>.errors.count, "error")} prohibited this <%= singular_table_name %> from being saved:"
|
5
5
|
ul
|
6
|
-
-
|
6
|
+
- <%= singular_table_name %>.errors.each do |error|
|
7
7
|
li = error.full_message
|
8
8
|
|
9
9
|
<% attributes.each do |attribute| -%>
|
data/lib/slim-rails/version.rb
CHANGED
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.
|
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-
|
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.
|
232
|
+
rubygems_version: 3.4.10
|
233
233
|
signing_key:
|
234
234
|
specification_version: 4
|
235
235
|
summary: Slim templates generator for Rails
|