rodauth_phlex 0.1.0.pre1 → 0.1.0.pre2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/lib/rodauth_phlex/components/formatted_field_error.rb +1 -1
- data/lib/rodauth_phlex/feature.rb +2 -2
- data/lib/rodauth_phlex/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 162a2aa5bc717ec49d0b15222e85ba42f5aa4385815a5ed3bf4d3472cc3e4e54
|
4
|
+
data.tar.gz: 42acbc6fd89119c30cdf60039eaf3a6d5771c0289b2a8ba3cba6eb7d681cb985
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4f64ff09a2ac7550fc29901962b25eb94e07ae2c194cf8e76942401f01e521dc62109ff11f2e5c831ff79331e1fa22556d155295a34eeb0e042f388e849643af
|
7
|
+
data.tar.gz: 6f9708e024fe3ddb154b020ce01c6b0556089d0c30eff05e7fea5e6f31646ce67675805b432301a1b6476d146bde135770f5eb5a88fc8c8ad11d8e0efa692683
|
data/CHANGELOG.md
CHANGED
@@ -15,7 +15,7 @@ module RodauthPhlex::Components
|
|
15
15
|
|
16
16
|
def view_template
|
17
17
|
field = @field
|
18
|
-
error = field_error(field)
|
18
|
+
error = rodauth.field_error(field)
|
19
19
|
return unless error
|
20
20
|
span(class: rodauth.input_field_error_message_class, id: "#{field}_error_message") { error }
|
21
21
|
end
|
@@ -4,7 +4,7 @@ module Rodauth
|
|
4
4
|
auth_value_method :phlex_components_namespace, "RodauthPhlex::Components"
|
5
5
|
auth_value_method :phlex_emails_namespace, "RodauthPhlex::Emails"
|
6
6
|
|
7
|
-
auth_value_method :phlex_layout_class, RodauthPhlex::Undefined
|
7
|
+
auth_value_method :phlex_layout_class, ::RodauthPhlex::Undefined
|
8
8
|
auth_value_method :phlex_layout_title_key, :title
|
9
9
|
auth_methods(
|
10
10
|
:phlex_set_page_title,
|
@@ -13,7 +13,7 @@ module Rodauth
|
|
13
13
|
|
14
14
|
# render a view
|
15
15
|
def view(page, title)
|
16
|
-
if (layout = phlex_layout_class) != RodauthPhlex::Undefined
|
16
|
+
if (layout = phlex_layout_class) != ::RodauthPhlex::Undefined
|
17
17
|
scope.phlex_layout(layout)
|
18
18
|
end
|
19
19
|
scope.phlex_layout_opts(phlex_set_page_title(title, scope.phlex_layout_opts))
|