phcdevworks_accounts 3.2.4 → 3.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/MIT-LICENSE +20 -20
- data/README.md +7 -7
- data/Rakefile +8 -8
- data/app/assets/config/phcdevworks_accounts_manifest.js +3 -3
- data/app/assets/stylesheets/phcdevworks_accounts/admin/pages.scss +3 -3
- data/app/assets/stylesheets/phcdevworks_accounts/application.scss +0 -0
- data/app/assets/stylesheets/phcdevworks_accounts/user/pages.scss +3 -3
- data/app/controllers/phcdevworks_accounts/admin/pages_controller.rb +25 -25
- data/app/controllers/phcdevworks_accounts/application_controller.rb +25 -25
- data/app/controllers/phcdevworks_accounts/user/pages_controller.rb +15 -15
- data/app/controllers/users/confirmations_controller.rb +30 -30
- data/app/controllers/users/omniauth_callbacks_controller.rb +30 -30
- data/app/controllers/users/passwords_controller.rb +34 -34
- data/app/controllers/users/registrations_controller.rb +74 -74
- data/app/controllers/users/sessions_controller.rb +27 -27
- data/app/controllers/users/unlocks_controller.rb +30 -30
- data/app/helpers/phcdevworks_accounts/admin/pages_helper.rb +4 -4
- data/app/helpers/phcdevworks_accounts/application_helper.rb +4 -4
- data/app/helpers/phcdevworks_accounts/user/pages_helper.rb +4 -4
- data/app/jobs/phcdevworks_accounts/application_job.rb +4 -4
- data/app/mailers/phcdevworks_accounts/application_mailer.rb +6 -6
- data/app/models/phcdevworks_accounts/application_record.rb +5 -5
- data/app/models/phcdevworks_accounts/user.rb +39 -39
- data/app/views/layouts/phcdevworks_accounts/application.html.erb +66 -66
- data/app/views/layouts/phcdevworks_accounts/application_full_width.html.erb +66 -66
- data/app/views/layouts/phcdevworks_accounts/application_no_sidebar.html.erb +59 -59
- data/app/views/layouts/phcdevworks_accounts/application_profile.html.erb +65 -65
- data/app/views/layouts/phcdevworks_accounts/components/backend/footer/_footer.html.erb +0 -0
- data/app/views/layouts/phcdevworks_accounts/components/backend/navigation/_top_menu.html.erb +0 -0
- data/app/views/layouts/phcdevworks_accounts/components/backend/sidebars/_side_menu.html.erb +0 -0
- data/app/views/layouts/phcdevworks_accounts/devise.html.erb +0 -0
- data/app/views/phcdevworks_accounts/admin/pages/components/_profile_header.html.erb +27 -27
- data/app/views/phcdevworks_accounts/admin/pages/dashboard.html.erb +0 -0
- data/app/views/phcdevworks_accounts/admin/pages/user_profile.html.erb +22 -22
- data/app/views/phcdevworks_accounts/admin/pages/users_list.html.erb +72 -72
- data/app/views/phcdevworks_accounts/user/pages/dashboard.html.erb +0 -0
- data/app/views/phcdevworks_accounts/user/pages/profile.html.erb +0 -0
- data/app/views/users/confirmations/new.html.erb +62 -62
- data/app/views/users/mailer/confirmation_instructions.html.erb +5 -5
- data/app/views/users/mailer/email_changed.html.erb +7 -7
- data/app/views/users/mailer/password_change.html.erb +3 -3
- data/app/views/users/mailer/reset_password_instructions.html.erb +8 -8
- data/app/views/users/mailer/unlock_instructions.html.erb +7 -7
- data/app/views/users/passwords/edit.html.erb +78 -78
- data/app/views/users/passwords/new.html.erb +65 -65
- data/app/views/users/registrations/edit.html.erb +101 -101
- data/app/views/users/registrations/new.html.erb +114 -114
- data/app/views/users/sessions/new.html.erb +86 -86
- data/app/views/users/shared/_links.html.erb +25 -25
- data/app/views/users/unlocks/new.html.erb +62 -62
- data/config/initializers/devise.rb +310 -310
- data/config/locales/devise.en.yml +65 -65
- data/config/routes.rb +19 -19
- data/config/spring.rb +1 -1
- data/db/migrate/20191012042035_devise_create_phcdevworks_accounts_users.rb +46 -46
- data/db/migrate/20191012060241_add_userinfo_to_users.rb +15 -15
- data/db/migrate/20191012060308_add_role_to_users.rb +7 -7
- data/db/migrate/20191012060324_add_tos_to_users.rb +7 -7
- data/db/migrate/20210407121952_add_customer_id_to_users.rb +7 -7
- data/db/migrate/20210425060053_add_subscription_id_to_users.rb +7 -7
- data/lib/phcdevworks_accounts/engine.rb +48 -48
- data/lib/phcdevworks_accounts/version.rb +3 -3
- data/lib/phcdevworks_accounts.rb +6 -6
- data/lib/tasks/phcdevworks_accounts_tasks.rake +4 -4
- metadata +31 -31
@@ -1,65 +1,65 @@
|
|
1
|
-
<!DOCTYPE html>
|
2
|
-
<html>
|
3
|
-
<head>
|
4
|
-
|
5
|
-
<!-- SEO System -->
|
6
|
-
<% phc_seo_title "PHCDevworks Accounts" %>
|
7
|
-
<% phc_seo_description "Ruby on Rails 6 Authentication and User Management Engine." %>
|
8
|
-
<!-- SEO System -->
|
9
|
-
|
10
|
-
<!-- SEO and Site Description -->
|
11
|
-
<meta charset="utf-8">
|
12
|
-
<title><%= yield(:phc_seo_title) %></title>
|
13
|
-
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
|
14
|
-
<meta name="description" content="<%= yield(:phc_seo_description) %>">
|
15
|
-
<!-- SEO and Site Description -->
|
16
|
-
|
17
|
-
<!-- Rails Security Tags -->
|
18
|
-
<%= csrf_meta_tags %>
|
19
|
-
<%= csp_meta_tag %>
|
20
|
-
<!-- Rails Security Tags -->
|
21
|
-
|
22
|
-
<!-- CSS Styles -->
|
23
|
-
<%= stylesheet_link_tag "phcthemes_admin_panel_pack_coloradmin", media: "all" %>
|
24
|
-
<!-- CSS Styles -->
|
25
|
-
|
26
|
-
<!-- JavaScript -->
|
27
|
-
<%= javascript_include_tag "phcthemes_admin_panel_pack_coloradmin" %>
|
28
|
-
<!-- JavaScript -->
|
29
|
-
|
30
|
-
</head>
|
31
|
-
<body>
|
32
|
-
|
33
|
-
<!-- Page Container -->
|
34
|
-
<div id="page-container" class="fade page-sidebar-fixed page-header-fixed">
|
35
|
-
|
36
|
-
<!-- Page Header -->
|
37
|
-
<div id="header" class="header navbar-default">
|
38
|
-
<%= render "layouts/phcdevworks_accounts/components/backend/navigation/top_menu" %>
|
39
|
-
</div>
|
40
|
-
<!-- Page Header -->
|
41
|
-
|
42
|
-
<!-- Page Sidebar -->
|
43
|
-
<div id="sidebar" class="sidebar">
|
44
|
-
<%= render "layouts/phcdevworks_accounts/components/backend/sidebars/side_menu" %>
|
45
|
-
</div>
|
46
|
-
<div class="sidebar-bg"></div>
|
47
|
-
<!-- Page Sidebar -->
|
48
|
-
|
49
|
-
<!-- Page Content -->
|
50
|
-
<div id="content" class="content content-full-width">
|
51
|
-
<%= yield %>
|
52
|
-
</div>
|
53
|
-
<!-- Page Content -->
|
54
|
-
|
55
|
-
<!-- Footer Content -->
|
56
|
-
<div id="footer" class="footer mb-4">
|
57
|
-
<%= render "layouts/phcdevworks_accounts/components/backend/footer/footer" %>
|
58
|
-
</div>
|
59
|
-
<!-- Footer Content -->
|
60
|
-
|
61
|
-
</div>
|
62
|
-
<!-- Page Container -->
|
63
|
-
|
64
|
-
</body>
|
65
|
-
</html>
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
|
5
|
+
<!-- SEO System -->
|
6
|
+
<% phc_seo_title "PHCDevworks Accounts" %>
|
7
|
+
<% phc_seo_description "Ruby on Rails 6 Authentication and User Management Engine." %>
|
8
|
+
<!-- SEO System -->
|
9
|
+
|
10
|
+
<!-- SEO and Site Description -->
|
11
|
+
<meta charset="utf-8">
|
12
|
+
<title><%= yield(:phc_seo_title) %></title>
|
13
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
|
14
|
+
<meta name="description" content="<%= yield(:phc_seo_description) %>">
|
15
|
+
<!-- SEO and Site Description -->
|
16
|
+
|
17
|
+
<!-- Rails Security Tags -->
|
18
|
+
<%= csrf_meta_tags %>
|
19
|
+
<%= csp_meta_tag %>
|
20
|
+
<!-- Rails Security Tags -->
|
21
|
+
|
22
|
+
<!-- CSS Styles -->
|
23
|
+
<%= stylesheet_link_tag "phcthemes_admin_panel_pack_coloradmin", media: "all" %>
|
24
|
+
<!-- CSS Styles -->
|
25
|
+
|
26
|
+
<!-- JavaScript -->
|
27
|
+
<%= javascript_include_tag "phcthemes_admin_panel_pack_coloradmin" %>
|
28
|
+
<!-- JavaScript -->
|
29
|
+
|
30
|
+
</head>
|
31
|
+
<body>
|
32
|
+
|
33
|
+
<!-- Page Container -->
|
34
|
+
<div id="page-container" class="fade page-sidebar-fixed page-header-fixed">
|
35
|
+
|
36
|
+
<!-- Page Header -->
|
37
|
+
<div id="header" class="header navbar-default">
|
38
|
+
<%= render "layouts/phcdevworks_accounts/components/backend/navigation/top_menu" %>
|
39
|
+
</div>
|
40
|
+
<!-- Page Header -->
|
41
|
+
|
42
|
+
<!-- Page Sidebar -->
|
43
|
+
<div id="sidebar" class="sidebar">
|
44
|
+
<%= render "layouts/phcdevworks_accounts/components/backend/sidebars/side_menu" %>
|
45
|
+
</div>
|
46
|
+
<div class="sidebar-bg"></div>
|
47
|
+
<!-- Page Sidebar -->
|
48
|
+
|
49
|
+
<!-- Page Content -->
|
50
|
+
<div id="content" class="content content-full-width">
|
51
|
+
<%= yield %>
|
52
|
+
</div>
|
53
|
+
<!-- Page Content -->
|
54
|
+
|
55
|
+
<!-- Footer Content -->
|
56
|
+
<div id="footer" class="footer mb-4">
|
57
|
+
<%= render "layouts/phcdevworks_accounts/components/backend/footer/footer" %>
|
58
|
+
</div>
|
59
|
+
<!-- Footer Content -->
|
60
|
+
|
61
|
+
</div>
|
62
|
+
<!-- Page Container -->
|
63
|
+
|
64
|
+
</body>
|
65
|
+
</html>
|
File without changes
|
data/app/views/layouts/phcdevworks_accounts/components/backend/navigation/_top_menu.html.erb
CHANGED
File without changes
|
File without changes
|
File without changes
|
@@ -1,27 +1,27 @@
|
|
1
|
-
<div class="profile-header">
|
2
|
-
|
3
|
-
<!-- User Profiles - Header - Cover -->
|
4
|
-
<div class="profile-header-cover"></div>
|
5
|
-
<!-- User Profiles - Header - Cover -->
|
6
|
-
|
7
|
-
<!-- User Profiles - Header - Content -->
|
8
|
-
<div class="profile-header-content">
|
9
|
-
<div class="profile-header-img">
|
10
|
-
<%= image_tag @admin_user.gravatar_url :secure => true, :filetype => :png, :size => 128 %>
|
11
|
-
</div>
|
12
|
-
<div class="profile-header-info">
|
13
|
-
<h4 class="m-t-10 m-b-5"><%= @admin_user.firstname + ' ' + @admin_user.lastname %></h4>
|
14
|
-
<p class="m-b-10"><%= @admin_user.username %></p>
|
15
|
-
<%= link_to edit_user_registration_path(@admin_user), class: "btn btn-xs btn-yellow" do %>
|
16
|
-
<i class="fad fa-user-edit"></i> Update Member Information
|
17
|
-
<% end %>
|
18
|
-
</div>
|
19
|
-
</div>
|
20
|
-
<!-- User Profiles - Header - Content -->
|
21
|
-
|
22
|
-
<!-- User Profiles - Header - Tab Bar -->
|
23
|
-
<ul class="profile-header-tab nav nav-tabs">
|
24
|
-
</ul>
|
25
|
-
<!-- User Profiles - Header - Tab Bar -->
|
26
|
-
|
27
|
-
</div>
|
1
|
+
<div class="profile-header">
|
2
|
+
|
3
|
+
<!-- User Profiles - Header - Cover -->
|
4
|
+
<div class="profile-header-cover"></div>
|
5
|
+
<!-- User Profiles - Header - Cover -->
|
6
|
+
|
7
|
+
<!-- User Profiles - Header - Content -->
|
8
|
+
<div class="profile-header-content">
|
9
|
+
<div class="profile-header-img">
|
10
|
+
<%= image_tag @admin_user.gravatar_url :secure => true, :filetype => :png, :size => 128 %>
|
11
|
+
</div>
|
12
|
+
<div class="profile-header-info">
|
13
|
+
<h4 class="m-t-10 m-b-5"><%= @admin_user.firstname + ' ' + @admin_user.lastname %></h4>
|
14
|
+
<p class="m-b-10"><%= @admin_user.username %></p>
|
15
|
+
<%= link_to edit_user_registration_path(@admin_user), class: "btn btn-xs btn-yellow" do %>
|
16
|
+
<i class="fad fa-user-edit"></i> Update Member Information
|
17
|
+
<% end %>
|
18
|
+
</div>
|
19
|
+
</div>
|
20
|
+
<!-- User Profiles - Header - Content -->
|
21
|
+
|
22
|
+
<!-- User Profiles - Header - Tab Bar -->
|
23
|
+
<ul class="profile-header-tab nav nav-tabs">
|
24
|
+
</ul>
|
25
|
+
<!-- User Profiles - Header - Tab Bar -->
|
26
|
+
|
27
|
+
</div>
|
File without changes
|
@@ -1,22 +1,22 @@
|
|
1
|
-
<!-- PHCTitleSEO Title Variables -->
|
2
|
-
<% phc_title "User Manager" %>
|
3
|
-
<% phc_title_tagline "Useer Profile" %>
|
4
|
-
<% phc_breadcrumb_one yield(:phc_title) %>
|
5
|
-
<% phc_breadcrumb_two yield(:phc_title_tagline) %>
|
6
|
-
<!-- PHCTitleSEO Title Variables -->
|
7
|
-
|
8
|
-
<!-- User Profiles - Header -->
|
9
|
-
<div class="profile">
|
10
|
-
<%= render 'phcdevworks_accounts/admin/pages/components/profile_header' %>
|
11
|
-
</div>
|
12
|
-
<!-- User Profiles - Header -->
|
13
|
-
|
14
|
-
<!-- User Profiles - Remove Full Page Width -->
|
15
|
-
<div class="profile-content">
|
16
|
-
<div class="tab-content p-0">
|
17
|
-
|
18
|
-
<%= render 'phcdevworks_notifications/bootstrap/notifications' %>
|
19
|
-
|
20
|
-
</div>
|
21
|
-
</div>
|
22
|
-
<!-- User Profiles - Remove Full Page Width -->
|
1
|
+
<!-- PHCTitleSEO Title Variables -->
|
2
|
+
<% phc_title "User Manager" %>
|
3
|
+
<% phc_title_tagline "Useer Profile" %>
|
4
|
+
<% phc_breadcrumb_one yield(:phc_title) %>
|
5
|
+
<% phc_breadcrumb_two yield(:phc_title_tagline) %>
|
6
|
+
<!-- PHCTitleSEO Title Variables -->
|
7
|
+
|
8
|
+
<!-- User Profiles - Header -->
|
9
|
+
<div class="profile">
|
10
|
+
<%= render 'phcdevworks_accounts/admin/pages/components/profile_header' %>
|
11
|
+
</div>
|
12
|
+
<!-- User Profiles - Header -->
|
13
|
+
|
14
|
+
<!-- User Profiles - Remove Full Page Width -->
|
15
|
+
<div class="profile-content">
|
16
|
+
<div class="tab-content p-0">
|
17
|
+
|
18
|
+
<%= render 'phcdevworks_notifications/bootstrap/notifications' %>
|
19
|
+
|
20
|
+
</div>
|
21
|
+
</div>
|
22
|
+
<!-- User Profiles - Remove Full Page Width -->
|
@@ -1,72 +1,72 @@
|
|
1
|
-
<!-- PHCTitleSEO Title Variables -->
|
2
|
-
<% phc_title "User Manager" %>
|
3
|
-
<% phc_title_tagline "Useer Index" %>
|
4
|
-
<% phc_breadcrumb_one yield(:phc_title) %>
|
5
|
-
<% phc_breadcrumb_two yield(:phc_title_tagline) %>
|
6
|
-
<!-- PHCTitleSEO Title Variables -->
|
7
|
-
|
8
|
-
<!-- Page Bradcrumbs -->
|
9
|
-
<ol class="breadcrumb pull-right">
|
10
|
-
<li class="breadcrumb-item"><%= yield(:phc_breadcrumb_one) %></li>
|
11
|
-
<li class="breadcrumb-item active"><%= yield(:phc_breadcrumb_two) %></li>
|
12
|
-
</ol>
|
13
|
-
<!-- Page Bradcrumbs -->
|
14
|
-
|
15
|
-
<!-- Page Header -->
|
16
|
-
<h2 class="page-header"><%= yield(:phc_title) %></h2>
|
17
|
-
<!-- Page Header -->
|
18
|
-
|
19
|
-
<!-- Page Content -->
|
20
|
-
<div class="row">
|
21
|
-
<div class="col-lg-12">
|
22
|
-
|
23
|
-
<!-- Panel -->
|
24
|
-
<div class="panel panel-inverse">
|
25
|
-
|
26
|
-
<!-- Panel - Heading -->
|
27
|
-
<div class="panel-heading">
|
28
|
-
<h4 class="panel-title"><%= yield(:phc_title) %></h4>
|
29
|
-
</div>
|
30
|
-
<!-- Panel - Heading -->
|
31
|
-
|
32
|
-
<!-- Panel - Body -->
|
33
|
-
<div class="panel-body">
|
34
|
-
|
35
|
-
<!-- Index - Table -->
|
36
|
-
<div class="table-responsive">
|
37
|
-
<table class="table table-striped table-bordered">
|
38
|
-
|
39
|
-
<thead>
|
40
|
-
<tr>
|
41
|
-
<th>Username</th>
|
42
|
-
<th>Full Name</th>
|
43
|
-
<th>Email</th>
|
44
|
-
</tr>
|
45
|
-
</thead>
|
46
|
-
|
47
|
-
<tbody>
|
48
|
-
<% @admin_users.each do |user| %>
|
49
|
-
<tr>
|
50
|
-
<td><%= user.username %></td>
|
51
|
-
<td><%= user.firstname %> <%= user.lastname %></td>
|
52
|
-
<td><%= user.email %></td>
|
53
|
-
</tr>
|
54
|
-
<% end %>
|
55
|
-
</tbody>
|
56
|
-
|
57
|
-
</table>
|
58
|
-
</div>
|
59
|
-
<!-- Index - Table -->
|
60
|
-
|
61
|
-
<!-- New Button -->
|
62
|
-
<!-- New Button -->
|
63
|
-
|
64
|
-
</div>
|
65
|
-
<!-- Panel - Body -->
|
66
|
-
|
67
|
-
</div>
|
68
|
-
<!-- Panel -->
|
69
|
-
|
70
|
-
</div>
|
71
|
-
</div>
|
72
|
-
<!-- Page Content -->
|
1
|
+
<!-- PHCTitleSEO Title Variables -->
|
2
|
+
<% phc_title "User Manager" %>
|
3
|
+
<% phc_title_tagline "Useer Index" %>
|
4
|
+
<% phc_breadcrumb_one yield(:phc_title) %>
|
5
|
+
<% phc_breadcrumb_two yield(:phc_title_tagline) %>
|
6
|
+
<!-- PHCTitleSEO Title Variables -->
|
7
|
+
|
8
|
+
<!-- Page Bradcrumbs -->
|
9
|
+
<ol class="breadcrumb pull-right">
|
10
|
+
<li class="breadcrumb-item"><%= yield(:phc_breadcrumb_one) %></li>
|
11
|
+
<li class="breadcrumb-item active"><%= yield(:phc_breadcrumb_two) %></li>
|
12
|
+
</ol>
|
13
|
+
<!-- Page Bradcrumbs -->
|
14
|
+
|
15
|
+
<!-- Page Header -->
|
16
|
+
<h2 class="page-header"><%= yield(:phc_title) %></h2>
|
17
|
+
<!-- Page Header -->
|
18
|
+
|
19
|
+
<!-- Page Content -->
|
20
|
+
<div class="row">
|
21
|
+
<div class="col-lg-12">
|
22
|
+
|
23
|
+
<!-- Panel -->
|
24
|
+
<div class="panel panel-inverse">
|
25
|
+
|
26
|
+
<!-- Panel - Heading -->
|
27
|
+
<div class="panel-heading">
|
28
|
+
<h4 class="panel-title"><%= yield(:phc_title) %></h4>
|
29
|
+
</div>
|
30
|
+
<!-- Panel - Heading -->
|
31
|
+
|
32
|
+
<!-- Panel - Body -->
|
33
|
+
<div class="panel-body">
|
34
|
+
|
35
|
+
<!-- Index - Table -->
|
36
|
+
<div class="table-responsive">
|
37
|
+
<table class="table table-striped table-bordered">
|
38
|
+
|
39
|
+
<thead>
|
40
|
+
<tr>
|
41
|
+
<th>Username</th>
|
42
|
+
<th>Full Name</th>
|
43
|
+
<th>Email</th>
|
44
|
+
</tr>
|
45
|
+
</thead>
|
46
|
+
|
47
|
+
<tbody>
|
48
|
+
<% @admin_users.each do |user| %>
|
49
|
+
<tr>
|
50
|
+
<td><%= user.username %></td>
|
51
|
+
<td><%= user.firstname %> <%= user.lastname %></td>
|
52
|
+
<td><%= user.email %></td>
|
53
|
+
</tr>
|
54
|
+
<% end %>
|
55
|
+
</tbody>
|
56
|
+
|
57
|
+
</table>
|
58
|
+
</div>
|
59
|
+
<!-- Index - Table -->
|
60
|
+
|
61
|
+
<!-- New Button -->
|
62
|
+
<!-- New Button -->
|
63
|
+
|
64
|
+
</div>
|
65
|
+
<!-- Panel - Body -->
|
66
|
+
|
67
|
+
</div>
|
68
|
+
<!-- Panel -->
|
69
|
+
|
70
|
+
</div>
|
71
|
+
</div>
|
72
|
+
<!-- Page Content -->
|
File without changes
|
File without changes
|
@@ -1,62 +1,62 @@
|
|
1
|
-
<!-- PHCTitleSEO Title Variables -->
|
2
|
-
<% phc_title resource_name.to_s.humanize + " Unlock Password" %>
|
3
|
-
<% phc_title_tagline "Unlock Your " + resource_name.to_s.humanize + " Unlock Password" %>
|
4
|
-
<% phc_breadcrumb_one link_to resource_name.to_s.humanize + " Home", phcdevworks_accounts.user_path %>
|
5
|
-
<% phc_breadcrumb_two yield(:phc_title_tagline) %>
|
6
|
-
<!-- PHCTitleSEO Title Variables -->
|
7
|
-
|
8
|
-
<!-- Page Bradcrumbs -->
|
9
|
-
<ol class="breadcrumb pull-right">
|
10
|
-
<li class="breadcrumb-item"><%= yield(:phc_breadcrumb_one) %></li>
|
11
|
-
<li class="breadcrumb-item active"><%= yield(:phc_breadcrumb_two) %></li>
|
12
|
-
</ol>
|
13
|
-
<!-- Page Bradcrumbs -->
|
14
|
-
|
15
|
-
<!-- Page Header -->
|
16
|
-
<h2 class="page-header"><%= yield(:phc_title) %></h2>
|
17
|
-
<!-- Page Header -->
|
18
|
-
|
19
|
-
<!-- Page Content -->
|
20
|
-
<div class="row">
|
21
|
-
<div class="col-lg-12">
|
22
|
-
|
23
|
-
<!-- Panel -->
|
24
|
-
<div class="panel panel-inverse">
|
25
|
-
|
26
|
-
<!-- Panel - Heading -->
|
27
|
-
<div class="panel-heading">
|
28
|
-
<h4 class="panel-title"><%= yield(:phc_title) %></h4>
|
29
|
-
</div>
|
30
|
-
<!-- Panel - Heading -->
|
31
|
-
|
32
|
-
<!-- Panel - Body -->
|
33
|
-
<div class="panel-body">
|
34
|
-
|
35
|
-
<!-- New Form -->
|
36
|
-
<%= form_for(resource, as: resource_name, url: confirmation_path(resource_name), html: { method: :post }) do |form| %>
|
37
|
-
|
38
|
-
<!-- Devise Error Message -->
|
39
|
-
<%= render "devise/shared/error_messages", resource: resource %>
|
40
|
-
<!-- Devise Error Message -->
|
41
|
-
|
42
|
-
<div class="form-group">
|
43
|
-
<%= form.label :email %>
|
44
|
-
<%= form.email_field :email, class: "form-control", autofocus: true, value: (resource.pending_reconfirmation? ? resource.unconfirmed_email : resource.email) %>
|
45
|
-
</div>
|
46
|
-
|
47
|
-
<div class="actions">
|
48
|
-
<%= form.submit "Resend Confirmation Instructions", class: "btn btn-primary block full-width" %>
|
49
|
-
</div>
|
50
|
-
|
51
|
-
<% end %>
|
52
|
-
<!-- New Form -->
|
53
|
-
|
54
|
-
</div>
|
55
|
-
<!-- Panel - Body -->
|
56
|
-
|
57
|
-
</div>
|
58
|
-
<!-- Panel -->
|
59
|
-
|
60
|
-
</div>
|
61
|
-
</div>
|
62
|
-
<!-- Page Content -->
|
1
|
+
<!-- PHCTitleSEO Title Variables -->
|
2
|
+
<% phc_title resource_name.to_s.humanize + " Unlock Password" %>
|
3
|
+
<% phc_title_tagline "Unlock Your " + resource_name.to_s.humanize + " Unlock Password" %>
|
4
|
+
<% phc_breadcrumb_one link_to resource_name.to_s.humanize + " Home", phcdevworks_accounts.user_path %>
|
5
|
+
<% phc_breadcrumb_two yield(:phc_title_tagline) %>
|
6
|
+
<!-- PHCTitleSEO Title Variables -->
|
7
|
+
|
8
|
+
<!-- Page Bradcrumbs -->
|
9
|
+
<ol class="breadcrumb pull-right">
|
10
|
+
<li class="breadcrumb-item"><%= yield(:phc_breadcrumb_one) %></li>
|
11
|
+
<li class="breadcrumb-item active"><%= yield(:phc_breadcrumb_two) %></li>
|
12
|
+
</ol>
|
13
|
+
<!-- Page Bradcrumbs -->
|
14
|
+
|
15
|
+
<!-- Page Header -->
|
16
|
+
<h2 class="page-header"><%= yield(:phc_title) %></h2>
|
17
|
+
<!-- Page Header -->
|
18
|
+
|
19
|
+
<!-- Page Content -->
|
20
|
+
<div class="row">
|
21
|
+
<div class="col-lg-12">
|
22
|
+
|
23
|
+
<!-- Panel -->
|
24
|
+
<div class="panel panel-inverse">
|
25
|
+
|
26
|
+
<!-- Panel - Heading -->
|
27
|
+
<div class="panel-heading">
|
28
|
+
<h4 class="panel-title"><%= yield(:phc_title) %></h4>
|
29
|
+
</div>
|
30
|
+
<!-- Panel - Heading -->
|
31
|
+
|
32
|
+
<!-- Panel - Body -->
|
33
|
+
<div class="panel-body">
|
34
|
+
|
35
|
+
<!-- New Form -->
|
36
|
+
<%= form_for(resource, as: resource_name, url: confirmation_path(resource_name), html: { method: :post }) do |form| %>
|
37
|
+
|
38
|
+
<!-- Devise Error Message -->
|
39
|
+
<%= render "devise/shared/error_messages", resource: resource %>
|
40
|
+
<!-- Devise Error Message -->
|
41
|
+
|
42
|
+
<div class="form-group">
|
43
|
+
<%= form.label :email %>
|
44
|
+
<%= form.email_field :email, class: "form-control", autofocus: true, value: (resource.pending_reconfirmation? ? resource.unconfirmed_email : resource.email) %>
|
45
|
+
</div>
|
46
|
+
|
47
|
+
<div class="actions">
|
48
|
+
<%= form.submit "Resend Confirmation Instructions", class: "btn btn-primary block full-width" %>
|
49
|
+
</div>
|
50
|
+
|
51
|
+
<% end %>
|
52
|
+
<!-- New Form -->
|
53
|
+
|
54
|
+
</div>
|
55
|
+
<!-- Panel - Body -->
|
56
|
+
|
57
|
+
</div>
|
58
|
+
<!-- Panel -->
|
59
|
+
|
60
|
+
</div>
|
61
|
+
</div>
|
62
|
+
<!-- Page Content -->
|
@@ -1,5 +1,5 @@
|
|
1
|
-
<p>Welcome <%= @email %>!</p>
|
2
|
-
|
3
|
-
<p>You can confirm your account email through the link below:</p>
|
4
|
-
|
5
|
-
<p><%= link_to 'Confirm my account', confirmation_url(@resource, confirmation_token: @token) %></p>
|
1
|
+
<p>Welcome <%= @email %>!</p>
|
2
|
+
|
3
|
+
<p>You can confirm your account email through the link below:</p>
|
4
|
+
|
5
|
+
<p><%= link_to 'Confirm my account', confirmation_url(@resource, confirmation_token: @token) %></p>
|
@@ -1,7 +1,7 @@
|
|
1
|
-
<p>Hello <%= @email %>!</p>
|
2
|
-
|
3
|
-
<% if @resource.try(:unconfirmed_email?) %>
|
4
|
-
<p>We're contacting you to notify you that your email is being changed to <%= @resource.unconfirmed_email %>.</p>
|
5
|
-
<% else %>
|
6
|
-
<p>We're contacting you to notify you that your email has been changed to <%= @resource.email %>.</p>
|
7
|
-
<% end %>
|
1
|
+
<p>Hello <%= @email %>!</p>
|
2
|
+
|
3
|
+
<% if @resource.try(:unconfirmed_email?) %>
|
4
|
+
<p>We're contacting you to notify you that your email is being changed to <%= @resource.unconfirmed_email %>.</p>
|
5
|
+
<% else %>
|
6
|
+
<p>We're contacting you to notify you that your email has been changed to <%= @resource.email %>.</p>
|
7
|
+
<% end %>
|
@@ -1,3 +1,3 @@
|
|
1
|
-
<p>Hello <%= @resource.email %>!</p>
|
2
|
-
|
3
|
-
<p>We're contacting you to notify you that your password has been changed.</p>
|
1
|
+
<p>Hello <%= @resource.email %>!</p>
|
2
|
+
|
3
|
+
<p>We're contacting you to notify you that your password has been changed.</p>
|
@@ -1,8 +1,8 @@
|
|
1
|
-
<p>Hello <%= @resource.email %>!</p>
|
2
|
-
|
3
|
-
<p>Someone has requested a link to change your password. You can do this through the link below.</p>
|
4
|
-
|
5
|
-
<p><%= link_to 'Change my password', edit_password_url(@resource, reset_password_token: @token) %></p>
|
6
|
-
|
7
|
-
<p>If you didn't request this, please ignore this email.</p>
|
8
|
-
<p>Your password won't change until you access the link above and create a new one.</p>
|
1
|
+
<p>Hello <%= @resource.email %>!</p>
|
2
|
+
|
3
|
+
<p>Someone has requested a link to change your password. You can do this through the link below.</p>
|
4
|
+
|
5
|
+
<p><%= link_to 'Change my password', edit_password_url(@resource, reset_password_token: @token) %></p>
|
6
|
+
|
7
|
+
<p>If you didn't request this, please ignore this email.</p>
|
8
|
+
<p>Your password won't change until you access the link above and create a new one.</p>
|
@@ -1,7 +1,7 @@
|
|
1
|
-
<p>Hello <%= @resource.email %>!</p>
|
2
|
-
|
3
|
-
<p>Your account has been locked due to an excessive number of unsuccessful sign in attempts.</p>
|
4
|
-
|
5
|
-
<p>Click the link below to unlock your account:</p>
|
6
|
-
|
7
|
-
<p><%= link_to 'Unlock my account', unlock_url(@resource, unlock_token: @token) %></p>
|
1
|
+
<p>Hello <%= @resource.email %>!</p>
|
2
|
+
|
3
|
+
<p>Your account has been locked due to an excessive number of unsuccessful sign in attempts.</p>
|
4
|
+
|
5
|
+
<p>Click the link below to unlock your account:</p>
|
6
|
+
|
7
|
+
<p><%= link_to 'Unlock my account', unlock_url(@resource, unlock_token: @token) %></p>
|