Add scheduled email feature for reminders
This commit is contained in:
		| @@ -11,10 +11,12 @@ | ||||
|  | ||||
|   <body> | ||||
|     <%= yield %> | ||||
|     <p class="notice"><%= notice %></p> | ||||
|     <p class="alert"><%= alert %></p> | ||||
|  | ||||
|     <hr> | ||||
|     <% if user_signed_in? %> | ||||
|       <p><%= link_to('Logout', destroy_user_session_path) %></p> | ||||
|       <p><%= link_to('Logout', destroy_user_session_path, method: 'delete') %></p> | ||||
|     <% end %> | ||||
|   </body> | ||||
| </html> | ||||
|   | ||||
							
								
								
									
										2
									
								
								app/views/reminder_mailer/schedule_email.html.erb
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										2
									
								
								app/views/reminder_mailer/schedule_email.html.erb
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,2 @@ | ||||
| <h1><%= @reminder.title %></h1> | ||||
| <p><%= @reminder.body %></p> | ||||
							
								
								
									
										3
									
								
								app/views/reminder_mailer/schedule_email.text.erb
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										3
									
								
								app/views/reminder_mailer/schedule_email.text.erb
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,3 @@ | ||||
| <%= @reminder.title %> | ||||
|  | ||||
| <%= @reminder.body %> | ||||
		Reference in New Issue
	
	Block a user