mirror of
https://github.com/neocities/neocities.git
synced 2025-04-24 17:22:35 +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
|
||||
EmailWorker.perform_async({
|
||||
from: 'web@neocities.org',
|
||||
replyto: params[:email],
|
||||
reply_to: params[:email],
|
||||
to: 'contact@neocities.org',
|
||||
subject: "[NeoCities] Contact: #{params[:subject]}",
|
||||
subject: "[NeoCities Contact]: #{params[:subject]}",
|
||||
body: params[:body]
|
||||
})
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@ javascript:
|
|||
theme : 'clean'
|
||||
};
|
||||
|
||||
- if !@errors.empty?
|
||||
- if !@errors.nil? && !@errors.empty?
|
||||
.row
|
||||
.span8.offset2
|
||||
.alert.alert-block.alert-error
|
||||
|
@ -30,4 +30,4 @@ javascript:
|
|||
== recaptcha_tag :challenge, ssl: true
|
||||
|
||||
div style="margin-top: 30px; margin-bottom: 50px"
|
||||
input.btn.btn-large.btn-success type="submit" value="Send"
|
||||
input.btn.btn-large.btn-success type="submit" value="Send"
|
||||
|
|
Loading…
Add table
Reference in a new issue