active_registration 0.1.1 → 0.1.2
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5d91f57419970f798df8aadc2d7fcebf139fdd1f9d215f845389ecc744cbfd0f
|
4
|
+
data.tar.gz: 9c4149954450c9fd6967e9823e3eed6574e7ae2940da157b870db56cf0f450ac
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9928062ea9157a3f3232ea575b2fd48cd3d4312b216c974e491964a8753ead2cd2b478a82e39ea786e7307330bcb6e46d188a813b12008236b48da333057f10a
|
7
|
+
data.tar.gz: e7bbe018225831ef611ac27bbf42b8536f66dc31d734dee4581af927bac0e17bc46ad89baed73164c380d5ad1e167f2e9e87f627425c6e9105e005726e986d2a
|
@@ -11,7 +11,8 @@ class RegistrationsController < ApplicationController
|
|
11
11
|
ConfirmationMailer.confirmation_instructions(@user).deliver_later
|
12
12
|
redirect_to root_path, notice: "Confirmation email sent!"
|
13
13
|
else
|
14
|
-
|
14
|
+
flash[:alert] = @user.errors.full_messages.join(", ")
|
15
|
+
render :new, status: :unprocessable_entity
|
15
16
|
end
|
16
17
|
end
|
17
18
|
|
@@ -1,6 +1,6 @@
|
|
1
1
|
<%= form_with model: @user, url: registration_path do |form| %>
|
2
|
-
<%= form.email_field :email_address
|
3
|
-
<%= form.password_field :password
|
4
|
-
<%= form.password_field :password_confirmation
|
5
|
-
<%= form.submit "Sign Up"
|
2
|
+
<%= form.email_field :email_address, placeholder: "Email Address" %><br>
|
3
|
+
<%= form.password_field :password, placeholder: "Password" %><br>
|
4
|
+
<%= form.password_field :password_confirmation, placeholder: "Confirm Password" %><br>
|
5
|
+
<%= form.submit "Sign Up" %><br>
|
6
6
|
<% end %>
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: active_registration
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Salanoid
|
@@ -65,7 +65,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
65
65
|
- !ruby/object:Gem::Version
|
66
66
|
version: '0'
|
67
67
|
requirements: []
|
68
|
-
rubygems_version: 3.6.
|
68
|
+
rubygems_version: 3.6.9
|
69
69
|
specification_version: 4
|
70
70
|
summary: A simple gem that adds generators for sign up Rails Authentication Generator.
|
71
71
|
test_files: []
|