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.
Files changed (66) hide show
  1. checksums.yaml +4 -4
  2. data/MIT-LICENSE +20 -20
  3. data/README.md +7 -7
  4. data/Rakefile +8 -8
  5. data/app/assets/config/phcdevworks_accounts_manifest.js +3 -3
  6. data/app/assets/stylesheets/phcdevworks_accounts/admin/pages.scss +3 -3
  7. data/app/assets/stylesheets/phcdevworks_accounts/application.scss +0 -0
  8. data/app/assets/stylesheets/phcdevworks_accounts/user/pages.scss +3 -3
  9. data/app/controllers/phcdevworks_accounts/admin/pages_controller.rb +25 -25
  10. data/app/controllers/phcdevworks_accounts/application_controller.rb +25 -25
  11. data/app/controllers/phcdevworks_accounts/user/pages_controller.rb +15 -15
  12. data/app/controllers/users/confirmations_controller.rb +30 -30
  13. data/app/controllers/users/omniauth_callbacks_controller.rb +30 -30
  14. data/app/controllers/users/passwords_controller.rb +34 -34
  15. data/app/controllers/users/registrations_controller.rb +74 -74
  16. data/app/controllers/users/sessions_controller.rb +27 -27
  17. data/app/controllers/users/unlocks_controller.rb +30 -30
  18. data/app/helpers/phcdevworks_accounts/admin/pages_helper.rb +4 -4
  19. data/app/helpers/phcdevworks_accounts/application_helper.rb +4 -4
  20. data/app/helpers/phcdevworks_accounts/user/pages_helper.rb +4 -4
  21. data/app/jobs/phcdevworks_accounts/application_job.rb +4 -4
  22. data/app/mailers/phcdevworks_accounts/application_mailer.rb +6 -6
  23. data/app/models/phcdevworks_accounts/application_record.rb +5 -5
  24. data/app/models/phcdevworks_accounts/user.rb +39 -39
  25. data/app/views/layouts/phcdevworks_accounts/application.html.erb +66 -66
  26. data/app/views/layouts/phcdevworks_accounts/application_full_width.html.erb +66 -66
  27. data/app/views/layouts/phcdevworks_accounts/application_no_sidebar.html.erb +59 -59
  28. data/app/views/layouts/phcdevworks_accounts/application_profile.html.erb +65 -65
  29. data/app/views/layouts/phcdevworks_accounts/components/backend/footer/_footer.html.erb +0 -0
  30. data/app/views/layouts/phcdevworks_accounts/components/backend/navigation/_top_menu.html.erb +0 -0
  31. data/app/views/layouts/phcdevworks_accounts/components/backend/sidebars/_side_menu.html.erb +0 -0
  32. data/app/views/layouts/phcdevworks_accounts/devise.html.erb +0 -0
  33. data/app/views/phcdevworks_accounts/admin/pages/components/_profile_header.html.erb +27 -27
  34. data/app/views/phcdevworks_accounts/admin/pages/dashboard.html.erb +0 -0
  35. data/app/views/phcdevworks_accounts/admin/pages/user_profile.html.erb +22 -22
  36. data/app/views/phcdevworks_accounts/admin/pages/users_list.html.erb +72 -72
  37. data/app/views/phcdevworks_accounts/user/pages/dashboard.html.erb +0 -0
  38. data/app/views/phcdevworks_accounts/user/pages/profile.html.erb +0 -0
  39. data/app/views/users/confirmations/new.html.erb +62 -62
  40. data/app/views/users/mailer/confirmation_instructions.html.erb +5 -5
  41. data/app/views/users/mailer/email_changed.html.erb +7 -7
  42. data/app/views/users/mailer/password_change.html.erb +3 -3
  43. data/app/views/users/mailer/reset_password_instructions.html.erb +8 -8
  44. data/app/views/users/mailer/unlock_instructions.html.erb +7 -7
  45. data/app/views/users/passwords/edit.html.erb +78 -78
  46. data/app/views/users/passwords/new.html.erb +65 -65
  47. data/app/views/users/registrations/edit.html.erb +101 -101
  48. data/app/views/users/registrations/new.html.erb +114 -114
  49. data/app/views/users/sessions/new.html.erb +86 -86
  50. data/app/views/users/shared/_links.html.erb +25 -25
  51. data/app/views/users/unlocks/new.html.erb +62 -62
  52. data/config/initializers/devise.rb +310 -310
  53. data/config/locales/devise.en.yml +65 -65
  54. data/config/routes.rb +19 -19
  55. data/config/spring.rb +1 -1
  56. data/db/migrate/20191012042035_devise_create_phcdevworks_accounts_users.rb +46 -46
  57. data/db/migrate/20191012060241_add_userinfo_to_users.rb +15 -15
  58. data/db/migrate/20191012060308_add_role_to_users.rb +7 -7
  59. data/db/migrate/20191012060324_add_tos_to_users.rb +7 -7
  60. data/db/migrate/20210407121952_add_customer_id_to_users.rb +7 -7
  61. data/db/migrate/20210425060053_add_subscription_id_to_users.rb +7 -7
  62. data/lib/phcdevworks_accounts/engine.rb +48 -48
  63. data/lib/phcdevworks_accounts/version.rb +3 -3
  64. data/lib/phcdevworks_accounts.rb +6 -6
  65. data/lib/tasks/phcdevworks_accounts_tasks.rake +4 -4
  66. metadata +31 -31
@@ -1,114 +1,114 @@
1
- <!-- Page Container -->
2
- <div id="page-container">
3
-
4
- <!-- Registration Area -->
5
- <div class="register register-with-news-feed">
6
-
7
- <!-- Ad/News Feed Area -->
8
- <div class="news-feed">
9
- <div class="news-image" style="background-image: url(https://static.phcnetworks.net/phc_engines/phc_accounts_pro/tropical_house_beach.jpg)"></div>
10
- <div class="news-caption">
11
- <h4 class="caption-title"><strong>PHC</strong>Devworks</h4>
12
- <p>Rails 6 User Accounts Engine</p>
13
- </div>
14
- </div>
15
- <!-- Ad/News Feed Area -->
16
-
17
- <!-- Registration Form -->
18
- <div class="right-content">
19
-
20
- <!-- Page Notifications -->
21
- <%= render "phcdevworks_notifications/bootstrap/notifications" %>
22
- <!-- Page Notifications -->
23
-
24
- <!-- Registration Form Header -->
25
- <h1 class="register-header">
26
- Accounts Signup
27
- <small>No credit card requried on signup.</small>
28
- </h1>
29
- <!-- Registration Form Header -->
30
-
31
- <!-- Registration Form Content -->
32
- <div class="register-content">
33
-
34
- <%= form_for(resource, as: resource_name, url: registration_path(resource_name)) do |form| %>
35
-
36
- <!-- Devise Error Message -->
37
- <%= render "devise/shared/error_messages", resource: resource %>
38
- <!-- Devise Error Message -->
39
-
40
- <label class="control-label">Name <span class="text-danger">*</span></label>
41
- <div class="row row-space-10">
42
- <div class="col-md-6 m-b-15">
43
- <%= form.text_field :firstname, autocomplete: "First Name", placeholder: "First Name", class: "form-control" %>
44
- </div>
45
- <div class="col-md-6 m-b-15">
46
- <%= form.text_field :lastname, autocomplete: "Last Name", placeholder: "Last Name", class: "form-control" %>
47
- </div>
48
- <div class="col-md-12 m-b-15">
49
- <%= form.text_field :username, autocomplete: "User Name", placeholder: "User Name", class: "form-control" %>
50
- </div>
51
- </div>
52
-
53
- <label class="control-label">Email <span class="text-danger">*</span></label>
54
- <div class="row m-b-15">
55
- <div class="col-md-12">
56
- <%= form.email_field :email, autocomplete: "Email", placeholder: "Email", class: "form-control" %>
57
- </div>
58
- </div>
59
-
60
- <label class="control-label">Password <span class="text-danger">*</span></label>
61
- <div class="row m-b-15">
62
- <div class="col-md-12">
63
- <%= form.password_field :password, autocomplete: "off", placeholder: "Type in a Secure Password", class: "form-control" %>
64
- </div>
65
- </div>
66
-
67
- <label class="control-label">Password Confirmation <span class="text-danger">*</span></label>
68
- <div class="row m-b-15">
69
- <div class="col-md-12">
70
- <%= form.password_field :password_confirmation, autocomplete: "off", placeholder: "Confirm your Password", class: "form-control" %>
71
- </div>
72
- </div>
73
-
74
- <div class="checkbox-css m-b-30">
75
- <div class="form-check checkbox-css m-b-30">
76
- <%= form.check_box :terms_of_service, required: true, class: "form-check-input", id: "agreement_checkbox" %>
77
- <label class="form-check-label">
78
- By clicking Sign Up, you agree to our <a href="javascript:;">Terms</a> and that you have read our <a href="javascript:;">Data Policy</a>, including our <a href="javascript:;">Cookie Use</a>.
79
- </label>
80
- </div>
81
- </div>
82
-
83
- <div class="register-buttons">
84
- <%= form.button :submit, class: "btn btn-primary btn-block btn-lg" do %>
85
- <i class="batch-icon batch-icon-key"></i>
86
- Sign Up
87
- <% end %>
88
- </div>
89
-
90
- <div class="m-t-20 m-b-40 p-b-40 text-inverse">
91
- <%= render "users/shared/links" %>
92
- </div>
93
-
94
- <% end %>
95
-
96
- <hr>
97
-
98
- <p class="text-center">
99
- <i class="fal fa-copyright"></i> <strong>PHC</strong>Devworks Accounts <%= Time.now.year %> <br>
100
- Developed with <i class="fas fa-heart hanna_hearts"></i> by
101
- <a class="phcnet_copyright text-dark" href="https://phcdevworks.com/"><u><span class="font-weight-bold">PHC</span>Devworks</u></a>
102
- </p>
103
-
104
- </div>
105
- <!-- Registration Form Content -->
106
-
107
- </div>
108
- <!-- Registration Form -->
109
-
110
- </div>
111
- <!-- Registration Area -->
112
-
113
- </div>
114
- <!-- Page Container -->
1
+ <!-- Page Container -->
2
+ <div id="page-container">
3
+
4
+ <!-- Registration Area -->
5
+ <div class="register register-with-news-feed">
6
+
7
+ <!-- Ad/News Feed Area -->
8
+ <div class="news-feed">
9
+ <div class="news-image" style="background-image: url(https://static.phcnetworks.net/phc_engines/phc_accounts_pro/tropical_house_beach.jpg)"></div>
10
+ <div class="news-caption">
11
+ <h4 class="caption-title"><strong>PHC</strong>Devworks</h4>
12
+ <p>Rails 6 User Accounts Engine</p>
13
+ </div>
14
+ </div>
15
+ <!-- Ad/News Feed Area -->
16
+
17
+ <!-- Registration Form -->
18
+ <div class="right-content">
19
+
20
+ <!-- Page Notifications -->
21
+ <%= render "phcdevworks_notifications/bootstrap/notifications" %>
22
+ <!-- Page Notifications -->
23
+
24
+ <!-- Registration Form Header -->
25
+ <h1 class="register-header">
26
+ Accounts Signup
27
+ <small>No credit card requried on signup.</small>
28
+ </h1>
29
+ <!-- Registration Form Header -->
30
+
31
+ <!-- Registration Form Content -->
32
+ <div class="register-content">
33
+
34
+ <%= form_for(resource, as: resource_name, url: registration_path(resource_name)) do |form| %>
35
+
36
+ <!-- Devise Error Message -->
37
+ <%= render "devise/shared/error_messages", resource: resource %>
38
+ <!-- Devise Error Message -->
39
+
40
+ <label class="control-label">Name <span class="text-danger">*</span></label>
41
+ <div class="row row-space-10">
42
+ <div class="col-md-6 m-b-15">
43
+ <%= form.text_field :firstname, autocomplete: "First Name", placeholder: "First Name", class: "form-control" %>
44
+ </div>
45
+ <div class="col-md-6 m-b-15">
46
+ <%= form.text_field :lastname, autocomplete: "Last Name", placeholder: "Last Name", class: "form-control" %>
47
+ </div>
48
+ <div class="col-md-12 m-b-15">
49
+ <%= form.text_field :username, autocomplete: "User Name", placeholder: "User Name", class: "form-control" %>
50
+ </div>
51
+ </div>
52
+
53
+ <label class="control-label">Email <span class="text-danger">*</span></label>
54
+ <div class="row m-b-15">
55
+ <div class="col-md-12">
56
+ <%= form.email_field :email, autocomplete: "Email", placeholder: "Email", class: "form-control" %>
57
+ </div>
58
+ </div>
59
+
60
+ <label class="control-label">Password <span class="text-danger">*</span></label>
61
+ <div class="row m-b-15">
62
+ <div class="col-md-12">
63
+ <%= form.password_field :password, autocomplete: "off", placeholder: "Type in a Secure Password", class: "form-control" %>
64
+ </div>
65
+ </div>
66
+
67
+ <label class="control-label">Password Confirmation <span class="text-danger">*</span></label>
68
+ <div class="row m-b-15">
69
+ <div class="col-md-12">
70
+ <%= form.password_field :password_confirmation, autocomplete: "off", placeholder: "Confirm your Password", class: "form-control" %>
71
+ </div>
72
+ </div>
73
+
74
+ <div class="checkbox-css m-b-30">
75
+ <div class="form-check checkbox-css m-b-30">
76
+ <%= form.check_box :terms_of_service, required: true, class: "form-check-input", id: "agreement_checkbox" %>
77
+ <label class="form-check-label">
78
+ By clicking Sign Up, you agree to our <a href="javascript:;">Terms</a> and that you have read our <a href="javascript:;">Data Policy</a>, including our <a href="javascript:;">Cookie Use</a>.
79
+ </label>
80
+ </div>
81
+ </div>
82
+
83
+ <div class="register-buttons">
84
+ <%= form.button :submit, class: "btn btn-primary btn-block btn-lg" do %>
85
+ <i class="batch-icon batch-icon-key"></i>
86
+ Sign Up
87
+ <% end %>
88
+ </div>
89
+
90
+ <div class="m-t-20 m-b-40 p-b-40 text-inverse">
91
+ <%= render "users/shared/links" %>
92
+ </div>
93
+
94
+ <% end %>
95
+
96
+ <hr>
97
+
98
+ <p class="text-center">
99
+ <i class="fal fa-copyright"></i> <strong>PHC</strong>Devworks Accounts <%= Time.now.year %> <br>
100
+ Developed with <i class="fas fa-heart hanna_hearts"></i> by
101
+ <a class="phcnet_copyright text-dark" href="https://phcdevworks.com/"><u><span class="font-weight-bold">PHC</span>Devworks</u></a>
102
+ </p>
103
+
104
+ </div>
105
+ <!-- Registration Form Content -->
106
+
107
+ </div>
108
+ <!-- Registration Form -->
109
+
110
+ </div>
111
+ <!-- Registration Area -->
112
+
113
+ </div>
114
+ <!-- Page Container -->
@@ -1,86 +1,86 @@
1
- <!-- Page Container -->
2
- <div id="page-container">
3
-
4
- <!-- Registration Area -->
5
- <div class="login login-with-news-feed">
6
-
7
- <!-- Ad/News Feed Area -->
8
- <div class="news-feed">
9
- <div class="news-image" style="background-image: url(https://static.phcnetworks.net/phc_engines/phc_accounts_pro/tropical_house_beach.jpg)"></div>
10
- <div class="news-caption">
11
- <h4 class="caption-title"><strong>PHC</strong>Devworks</h4>
12
- <p>Rails 6 User Accounts Engine</p>
13
- </div>
14
- </div>
15
- <!-- Ad/News Feed Area -->
16
-
17
- <!-- Registration Form -->
18
- <div class="right-content">
19
-
20
- <!-- Page Notifications -->
21
- <%= render "phcdevworks_notifications/bootstrap/notifications" %>
22
- <!-- Page Notifications -->
23
-
24
- <!-- Registration Form Header -->
25
- <h1 class="login-header">
26
- <div class="brand">
27
- Accounts Sign-In
28
- <small>To continue account sign-in is required.</small>
29
- </div>
30
- </h1>
31
- <!-- Registration Form Header -->
32
-
33
- <!-- Registration Form Content -->
34
- <div class="login-content">
35
-
36
- <%= form_for(resource, as: resource_name, url: session_path(resource_name)) do |form| %>
37
-
38
- <%= render "devise/shared/error_messages", resource: resource %>
39
-
40
- <div class="form-group m-b-15">
41
- <%= form.email_field :email, autofocus: true, autocomplete: "email", placeholder: "Email", class: "form-control form-control-lg" %>
42
- </div>
43
-
44
- <div class="form-group m-b-15">
45
- <%= form.password_field :password, autocomplete: "off", placeholder: "Your Password", class: "form-control form-control-lg" %>
46
- </div>
47
-
48
- <div class="checkbox checkbox-css m-b-30">
49
- <% if devise_mapping.rememberable? -%>
50
- <%= form.check_box :remember_me, class: "custom-control-input" %>
51
- <%= form.label :remember_me, class: "custom-control-label" %>
52
- <% end -%>
53
- </div>
54
-
55
- <div class="login-buttons">
56
- <%= form.button :submit, class: "btn btn-success btn-block btn-lg" do %>
57
- <i class="batch-icon batch-icon-key"></i>
58
- Sign-In
59
- <% end %>
60
- </div>
61
-
62
- <div class="m-t-20 m-b-40 p-b-40 text-inverse">
63
- <%= render "users/shared/links" %>
64
- </div>
65
-
66
- <% end %>
67
-
68
- <hr>
69
-
70
- <p class="text-center">
71
- <i class="fal fa-copyright"></i> <strong>PHC</strong>Devworks Accounts <%= Time.now.year %> <br>
72
- Developed with <i class="fas fa-heart hanna_hearts"></i> by
73
- <a class="phcnet_copyright text-dark" href="https://phcdevworks.com/"><u><span class="font-weight-bold">PHC</span>Devworks</u></a>
74
- </p>
75
-
76
- </div>
77
- <!-- Registration Form Content -->
78
-
79
- </div>
80
- <!-- Registration Form -->
81
-
82
- </div>
83
- <!-- Registration Area -->
84
-
85
- </div>
86
- <!-- Page Container -->
1
+ <!-- Page Container -->
2
+ <div id="page-container">
3
+
4
+ <!-- Registration Area -->
5
+ <div class="login login-with-news-feed">
6
+
7
+ <!-- Ad/News Feed Area -->
8
+ <div class="news-feed">
9
+ <div class="news-image" style="background-image: url(https://static.phcnetworks.net/phc_engines/phc_accounts_pro/tropical_house_beach.jpg)"></div>
10
+ <div class="news-caption">
11
+ <h4 class="caption-title"><strong>PHC</strong>Devworks</h4>
12
+ <p>Rails 6 User Accounts Engine</p>
13
+ </div>
14
+ </div>
15
+ <!-- Ad/News Feed Area -->
16
+
17
+ <!-- Registration Form -->
18
+ <div class="right-content">
19
+
20
+ <!-- Page Notifications -->
21
+ <%= render "phcdevworks_notifications/bootstrap/notifications" %>
22
+ <!-- Page Notifications -->
23
+
24
+ <!-- Registration Form Header -->
25
+ <h1 class="login-header">
26
+ <div class="brand">
27
+ Accounts Sign-In
28
+ <small>To continue account sign-in is required.</small>
29
+ </div>
30
+ </h1>
31
+ <!-- Registration Form Header -->
32
+
33
+ <!-- Registration Form Content -->
34
+ <div class="login-content">
35
+
36
+ <%= form_for(resource, as: resource_name, url: session_path(resource_name)) do |form| %>
37
+
38
+ <%= render "devise/shared/error_messages", resource: resource %>
39
+
40
+ <div class="form-group m-b-15">
41
+ <%= form.email_field :email, autofocus: true, autocomplete: "email", placeholder: "Email", class: "form-control form-control-lg" %>
42
+ </div>
43
+
44
+ <div class="form-group m-b-15">
45
+ <%= form.password_field :password, autocomplete: "off", placeholder: "Your Password", class: "form-control form-control-lg" %>
46
+ </div>
47
+
48
+ <div class="checkbox checkbox-css m-b-30">
49
+ <% if devise_mapping.rememberable? -%>
50
+ <%= form.check_box :remember_me, class: "custom-control-input" %>
51
+ <%= form.label :remember_me, class: "custom-control-label" %>
52
+ <% end -%>
53
+ </div>
54
+
55
+ <div class="login-buttons">
56
+ <%= form.button :submit, class: "btn btn-success btn-block btn-lg" do %>
57
+ <i class="batch-icon batch-icon-key"></i>
58
+ Sign-In
59
+ <% end %>
60
+ </div>
61
+
62
+ <div class="m-t-20 m-b-40 p-b-40 text-inverse">
63
+ <%= render "users/shared/links" %>
64
+ </div>
65
+
66
+ <% end %>
67
+
68
+ <hr>
69
+
70
+ <p class="text-center">
71
+ <i class="fal fa-copyright"></i> <strong>PHC</strong>Devworks Accounts <%= Time.now.year %> <br>
72
+ Developed with <i class="fas fa-heart hanna_hearts"></i> by
73
+ <a class="phcnet_copyright text-dark" href="https://phcdevworks.com/"><u><span class="font-weight-bold">PHC</span>Devworks</u></a>
74
+ </p>
75
+
76
+ </div>
77
+ <!-- Registration Form Content -->
78
+
79
+ </div>
80
+ <!-- Registration Form -->
81
+
82
+ </div>
83
+ <!-- Registration Area -->
84
+
85
+ </div>
86
+ <!-- Page Container -->
@@ -1,25 +1,25 @@
1
- <%- if controller_name != 'sessions' %>
2
- Already a member? Click <%= link_to "Here", new_session_path(resource_name) %> to login.</br>
3
- <% end -%>
4
-
5
- <%- if devise_mapping.registerable? && controller_name != 'registrations' %>
6
- Not a member yet? Click <%= link_to "here", new_registration_path(resource_name) %> to register.</br>
7
- <% end -%>
8
-
9
- <%- if devise_mapping.recoverable? && controller_name != 'passwords' && controller_name != 'registrations' %>
10
- <%= link_to "Forgot your password?", new_password_path(resource_name) %><br />
11
- <% end -%>
12
-
13
- <%- if devise_mapping.confirmable? && controller_name != 'confirmations' %>
14
- <%= link_to "Didn't receive confirmation instructions?", new_confirmation_path(resource_name) %></br>
15
- <% end -%>
16
-
17
- <%- if devise_mapping.lockable? && resource_class.unlock_strategy_enabled?(:email) && controller_name != 'unlocks' %>
18
- <%= link_to "Didn't receive unlock instructions?", new_unlock_path(resource_name) %></br>
19
- <% end -%>
20
-
21
- <%- if devise_mapping.omniauthable? %>
22
- <%- resource_class.omniauth_providers.each do |provider| %>
23
- <%= link_to "Sign in with #{OmniAuth::Utils.camelize(provider)}", omniauth_authorize_path(resource_name, provider) %><br />
24
- <% end -%>
25
- <% end -%>
1
+ <%- if controller_name != 'sessions' %>
2
+ Already a member? Click <%= link_to "Here", new_session_path(resource_name) %> to login.</br>
3
+ <% end -%>
4
+
5
+ <%- if devise_mapping.registerable? && controller_name != 'registrations' %>
6
+ Not a member yet? Click <%= link_to "here", new_registration_path(resource_name) %> to register.</br>
7
+ <% end -%>
8
+
9
+ <%- if devise_mapping.recoverable? && controller_name != 'passwords' && controller_name != 'registrations' %>
10
+ <%= link_to "Forgot your password?", new_password_path(resource_name) %><br />
11
+ <% end -%>
12
+
13
+ <%- if devise_mapping.confirmable? && controller_name != 'confirmations' %>
14
+ <%= link_to "Didn't receive confirmation instructions?", new_confirmation_path(resource_name) %></br>
15
+ <% end -%>
16
+
17
+ <%- if devise_mapping.lockable? && resource_class.unlock_strategy_enabled?(:email) && controller_name != 'unlocks' %>
18
+ <%= link_to "Didn't receive unlock instructions?", new_unlock_path(resource_name) %></br>
19
+ <% end -%>
20
+
21
+ <%- if devise_mapping.omniauthable? %>
22
+ <%- resource_class.omniauth_providers.each do |provider| %>
23
+ <%= link_to "Sign in with #{OmniAuth::Utils.camelize(provider)}", omniauth_authorize_path(resource_name, provider) %><br />
24
+ <% end -%>
25
+ <% end -%>
@@ -1,62 +1,62 @@
1
- <!-- Title System -->
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
- <!-- Title System -->
7
-
8
- <!-- BreakCrumbs & Header -->
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
- <h2 class="page-header"><%= yield(:phc_title) %></h2>
14
- <!-- BreakCrumbs & Header -->
15
-
16
- <!-- Page Content -->
17
- <div class="row">
18
- <div class="col-lg-12">
19
-
20
- <!-- Panel -->
21
- <div class="panel panel-inverse">
22
-
23
- <!-- Panel - Heading -->
24
- <div class="panel-heading">
25
- <!-- Panel - Actions -->
26
- <div class="panel-heading-btn">
27
- <a href="#" class="btn btn-xs btn-icon btn-circle btn-default" data-click="panel-expand"><i class="fa fa-expand"></i></a>
28
- <a href="javascript:;" class="btn btn-xs btn-icon btn-circle btn-success" data-click="panel-reload"><i class="fa fa-redo"></i></a>
29
- <a href="javascript:;" class="btn btn-xs btn-icon btn-circle btn-warning" data-click="panel-collapse"><i class="fa fa-minus"></i></a>
30
- </div>
31
- <!-- Panel - Actions -->
32
- <h4 class="panel-title"><%= yield(:phc_title) %></h4>
33
- </div>
34
- <!-- Panel - Heading -->
35
-
36
- <!-- Panel - Body -->
37
- <div class="panel-body">
38
-
39
- <%= form_for(resource, as: resource_name, url: unlock_path(resource_name), html: { method: :post }) do |form| %>
40
-
41
- <%= render "devise/shared/error_messages", resource: resource %>
42
-
43
- <div class="form-group">
44
- <%= form.label :email %>
45
- <%= form.email_field :email, class: "form-control", placeholder: "Email Address", autofocus: true %>
46
- </div>
47
-
48
- <div class="actions">
49
- <%= form.submit "Resend unlock instructions", class: "btn btn-primary block full-width" %>
50
- </div>
51
-
52
- <% end %>
53
-
54
- </div>
55
- <!-- Panel - Body -->
56
-
57
- </div>
58
- <!-- Panel -->
59
-
60
- </div>
61
- </div>
62
- <!-- Page Content -->
1
+ <!-- Title System -->
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
+ <!-- Title System -->
7
+
8
+ <!-- BreakCrumbs & Header -->
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
+ <h2 class="page-header"><%= yield(:phc_title) %></h2>
14
+ <!-- BreakCrumbs & Header -->
15
+
16
+ <!-- Page Content -->
17
+ <div class="row">
18
+ <div class="col-lg-12">
19
+
20
+ <!-- Panel -->
21
+ <div class="panel panel-inverse">
22
+
23
+ <!-- Panel - Heading -->
24
+ <div class="panel-heading">
25
+ <!-- Panel - Actions -->
26
+ <div class="panel-heading-btn">
27
+ <a href="#" class="btn btn-xs btn-icon btn-circle btn-default" data-click="panel-expand"><i class="fa fa-expand"></i></a>
28
+ <a href="javascript:;" class="btn btn-xs btn-icon btn-circle btn-success" data-click="panel-reload"><i class="fa fa-redo"></i></a>
29
+ <a href="javascript:;" class="btn btn-xs btn-icon btn-circle btn-warning" data-click="panel-collapse"><i class="fa fa-minus"></i></a>
30
+ </div>
31
+ <!-- Panel - Actions -->
32
+ <h4 class="panel-title"><%= yield(:phc_title) %></h4>
33
+ </div>
34
+ <!-- Panel - Heading -->
35
+
36
+ <!-- Panel - Body -->
37
+ <div class="panel-body">
38
+
39
+ <%= form_for(resource, as: resource_name, url: unlock_path(resource_name), html: { method: :post }) do |form| %>
40
+
41
+ <%= render "devise/shared/error_messages", resource: resource %>
42
+
43
+ <div class="form-group">
44
+ <%= form.label :email %>
45
+ <%= form.email_field :email, class: "form-control", placeholder: "Email Address", autofocus: true %>
46
+ </div>
47
+
48
+ <div class="actions">
49
+ <%= form.submit "Resend unlock instructions", class: "btn btn-primary block full-width" %>
50
+ </div>
51
+
52
+ <% end %>
53
+
54
+ </div>
55
+ <!-- Panel - Body -->
56
+
57
+ </div>
58
+ <!-- Panel -->
59
+
60
+ </div>
61
+ </div>
62
+ <!-- Page Content -->