21 lines
813 B
Plaintext
21 lines
813 B
Plaintext
.row
|
|
.large-9.columns
|
|
.row: .small-12.columns=raw @page.body
|
|
= form_for Cmtool::ContactForm.new, url: contact_forms_path, html: {class: 'contact'} do |f|
|
|
.row
|
|
.large-4.columns= f.label :name
|
|
.large-2.columns= f.select :gender, [[Cmtool::ContactForm.human_attribute_name('male'), 'male'], [Cmtool::ContactForm.human_attribute_name('female'), 'female']]
|
|
.large-6.columns.end= f.text_field :name
|
|
.row
|
|
.small-12.columns.end
|
|
= f.label :body
|
|
br
|
|
= f.text_area :body, cols: 32, rows: 8
|
|
.row
|
|
.large-4.columns= f.label :email
|
|
.large-8.columns.end= f.email_field :email
|
|
.row
|
|
.large-12.columns
|
|
= f.submit t('website.contact_form.send_button'), class: 'button'
|
|
.large-3.columns== @page.sidebar
|