reply_to, some default texts
This commit is contained in:
Torsten Ruger 2016-06-14 10:04:52 +03:00
parent f54ebd2fe9
commit 95a1066fdc
3 changed files with 6 additions and 5 deletions

View File

@ -192,7 +192,7 @@ GEM
activesupport (>= 3.0.0)
launchy (2.4.3)
addressable (~> 2.3)
libv8 (3.16.14.13)
libv8 (3.16.14.15)
listen (3.0.6)
rb-fsevent (>= 0.9.3)
rb-inotify (>= 0.9.7)
@ -421,4 +421,4 @@ DEPENDENCIES
web-console (~> 2.0)
BUNDLED WITH
1.12.4
1.12.5

View File

@ -7,7 +7,8 @@ class ApplyMailer < ApplicationMailer
#
def submit( application )
@application = application
mail(to: @application.user.email, subject: "Your application has been submitted")
email = @application.user.email
mail(to: email, reply_to: email , subject: "Your application has been submitted")
end
# Subject can be set in your I18n file at config/locales/en.yml

View File

@ -32,14 +32,14 @@
%p
%b Internship:
.col-md-8
= resume_in_place :internship , "Tell us about any relevant internships you have done"
= resume_in_place :internship , "Tell us about any relevant internships you have done, and what they were about"
.row
.col-md-1
.col-md-1
%p
%b Work:
.col-md-8
= resume_in_place :work , "Do you have work experience, in what field."
= resume_in_place :work , "Do you have work experience, in what field, what were your responsibilities."
.row
.col-md-1
.col-md-1