Managing loaner chromebooks for students and teachers in the HUUSD school district.

very small improvement to usermailer

+3
+1
app/mailers/user_mailer.rb
··· 4 4 5 5 def notify_unreturned_after_seven_days(loan) 6 6 @loan = loan 7 + @borrower = Borrower.find(@loan.borrower_id) 7 8 mail( 8 9 subject: "Student has not returned Loaner after seven days.", 9 10 to: "jmayone2025@huusd.org",
+2
app/views/user_mailer/notify_unreturned_after_seven_days.html.erb
··· 9 9 <p>The student <%= @loan.borrower.name %> (<%= @loan.borrower.email %>) has not returned the loaner device after seven days of reminders.</p> 10 10 <p>Please follow up with the student to ensure the device is returned.</p> 11 11 12 + <p>View the student info <a href=<%=borrower_path(@borrower)%>>here</a>.</p> 13 + 12 14 <p>Jasper's Very Grumpy Robot</p> 13 15 </body> 14 16 </html>