Contact us page and popup
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
= form_tag contact_send_path do
|
||||
= emailfield :email, nil, big: true, required: true unless logged_in?
|
||||
= contact_reason_select
|
||||
= textfield :subject, nil, required: true, big: true
|
||||
= textarea :message, nil, required: true, plain: true
|
||||
.actions
|
||||
= button_tag :send, value: :send
|
||||
- if cancel_btn
|
||||
%button.close.subdued=_'forms.actions.generic.cancel'
|
||||
@@ -0,0 +1,10 @@
|
||||
= render :partial => 'application/header', :locals => {:image_file => @banner_image || 'grafitti.jpg'}
|
||||
%article
|
||||
= row do
|
||||
= columns do
|
||||
- if @sent
|
||||
%h2=_'articles.contact.headings.sent', :t
|
||||
%p=_'articles.contact.paragraphs.sent', :p
|
||||
- else
|
||||
%h2=_'articles.contact.headings.contact'
|
||||
= render 'contact', cancel_btn: false
|
||||
Reference in New Issue
Block a user