devise-i18n 1.10.3 → 1.11.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/app/views/devise/registrations/edit.html.erb +2 -2
- data/app/views/devise/shared/_error_messages.html.erb +1 -1
- data/app/views/devise/shared/_links.html.erb +1 -1
- data/lib/generators/devise/templates/simple_form_for/registrations/edit.html.erb +2 -2
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 82a814dba09cc8f6c0b0b30909270ebd84621dc506512f92129325011df485a0
|
4
|
+
data.tar.gz: 06a8b2ad77b2aba112e319ef3e4792f17fd50f77dd8da204e376fa96b1b10fa0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '09f74d0add99215c78e47f292cc6bb5b40129b7b98ff4dc3de3710e5da2fa2b89a8bdbf832de4b4cde7b443750f64f743db63a6e72475130e25fb8a8503aa720'
|
7
|
+
data.tar.gz: 0b424a163b9bb18b423237a2ba9ba13a5981cda84fd57664224bbba8b643c79aa0a371dde1ba20e9203723123f5dd90b9254460d883ceedaf7a5bc103d588ac8
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.11.0
|
@@ -1,4 +1,4 @@
|
|
1
|
-
<h2><%= t('.title', resource:
|
1
|
+
<h2><%= t('.title', resource: resource_name.to_s.humanize) %></h2>
|
2
2
|
|
3
3
|
<%= form_for(resource, as: resource_name, url: registration_path(resource_name), html: { method: :put }) do |f| %>
|
4
4
|
<%= render "devise/shared/error_messages", resource: resource %>
|
@@ -38,6 +38,6 @@
|
|
38
38
|
|
39
39
|
<h3><%= t('.cancel_my_account') %></h3>
|
40
40
|
|
41
|
-
<
|
41
|
+
<div><%= t('.unhappy') %> <%= button_to t('.cancel_my_account'), registration_path(resource_name), data: { confirm: t('.are_you_sure'), turbo_confirm: t('.are_you_sure') }, method: :delete %></div>
|
42
42
|
|
43
43
|
<%= link_to t('devise.shared.links.back'), :back %>
|
@@ -20,6 +20,6 @@
|
|
20
20
|
|
21
21
|
<%- if devise_mapping.omniauthable? %>
|
22
22
|
<%- resource_class.omniauth_providers.each do |provider| %>
|
23
|
-
<%=
|
23
|
+
<%= button_to t('.sign_in_with_provider', provider: OmniAuth::Utils.camelize(provider)), omniauth_authorize_path(resource_name, provider), data: { turbo: false } %><br />
|
24
24
|
<% end %>
|
25
25
|
<% end %>
|
@@ -1,4 +1,4 @@
|
|
1
|
-
<h2><%= t(".title", resource:
|
1
|
+
<h2><%= t(".title", resource: resource_name.to_s.humanize) %></h2>
|
2
2
|
|
3
3
|
<%= simple_form_for(resource, as: resource_name, url: registration_path(resource_name), html: { method: :put }) do |f| %>
|
4
4
|
<%= f.error_notification %>
|
@@ -30,6 +30,6 @@
|
|
30
30
|
|
31
31
|
<h3><%= t(".cancel_my_account") %></h3>
|
32
32
|
|
33
|
-
<
|
33
|
+
<div><%= t(".unhappy") %> <%= button_to t(".cancel_my_account"), registration_path(resource_name), data: { confirm: t(".are_you_sure"), turbo_confirm: t(".are_you_sure") }, method: :delete %></div>
|
34
34
|
|
35
35
|
<%= link_to t("devise.shared.links.back"), :back %>
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: devise-i18n
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.11.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Christopher Dell
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2023-02-
|
13
|
+
date: 2023-02-19 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: devise
|
@@ -18,14 +18,14 @@ dependencies:
|
|
18
18
|
requirements:
|
19
19
|
- - ">="
|
20
20
|
- !ruby/object:Gem::Version
|
21
|
-
version: 4.
|
21
|
+
version: 4.9.0
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
24
|
version_requirements: !ruby/object:Gem::Requirement
|
25
25
|
requirements:
|
26
26
|
- - ">="
|
27
27
|
- !ruby/object:Gem::Version
|
28
|
-
version: 4.
|
28
|
+
version: 4.9.0
|
29
29
|
- !ruby/object:Gem::Dependency
|
30
30
|
name: rspec
|
31
31
|
requirement: !ruby/object:Gem::Requirement
|