mirror of
https://github.com/neocities/neocities.git
synced 2025-04-25 01:32:36 +02:00
last minute tweaks for contact
This commit is contained in:
parent
d7819fd25f
commit
5e4c54faf2
2 changed files with 4 additions and 4 deletions
4
app.rb
4
app.rb
|
@ -443,9 +443,9 @@ post '/contact' do
|
||||||
else
|
else
|
||||||
EmailWorker.perform_async({
|
EmailWorker.perform_async({
|
||||||
from: 'web@neocities.org',
|
from: 'web@neocities.org',
|
||||||
replyto: params[:email],
|
reply_to: params[:email],
|
||||||
to: 'contact@neocities.org',
|
to: 'contact@neocities.org',
|
||||||
subject: "[NeoCities] Contact: #{params[:subject]}",
|
subject: "[NeoCities Contact]: #{params[:subject]}",
|
||||||
body: params[:body]
|
body: params[:body]
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
|
@ -3,7 +3,7 @@ javascript:
|
||||||
theme : 'clean'
|
theme : 'clean'
|
||||||
};
|
};
|
||||||
|
|
||||||
- if !@errors.empty?
|
- if !@errors.nil? && !@errors.empty?
|
||||||
.row
|
.row
|
||||||
.span8.offset2
|
.span8.offset2
|
||||||
.alert.alert-block.alert-error
|
.alert.alert-block.alert-error
|
||||||
|
|
Loading…
Add table
Reference in a new issue