Little website things
This commit is contained in:
@@ -1,6 +0,0 @@
|
|||||||
= yield :footer
|
|
||||||
= link_to 'disclaimer', page_path('disclaimer')
|
|
||||||
'
|
|
||||||
= link_to 'privacy', page_path('privacy')
|
|
||||||
'
|
|
||||||
= link_to 'kernwaarden', page_path('values')
|
|
||||||
|
|||||||
@@ -3,20 +3,18 @@
|
|||||||
.row: .small-12.columns=raw @page.body
|
.row: .small-12.columns=raw @page.body
|
||||||
= form_for Cmtool::ContactForm.new, url: contact_forms_path, html: {class: 'contact'} do |f|
|
= form_for Cmtool::ContactForm.new, url: contact_forms_path, html: {class: 'contact'} do |f|
|
||||||
.row
|
.row
|
||||||
.large-4.columns: label Uw naam:
|
.large-4.columns= f.label :name
|
||||||
.large-2.columns= f.select :gender, [['Dhr.', 'male'], ['Mevr.', 'female']]
|
.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
|
.large-6.columns.end= f.text_field :name
|
||||||
.row
|
.row
|
||||||
.small-12.columns.end
|
.small-12.columns.end
|
||||||
label Uw vraag of opmerking:*
|
= f.label :body
|
||||||
br
|
br
|
||||||
= f.text_area :body, cols: 32, rows: 8
|
= f.text_area :body, cols: 32, rows: 8
|
||||||
.row
|
.row
|
||||||
.large-4.columns: label Uw e-mail adres:*
|
.large-4.columns= f.label :email
|
||||||
.large-8.columns.end= f.email_field :email
|
.large-8.columns.end= f.email_field :email
|
||||||
.row
|
.row
|
||||||
.large-12.columns
|
.large-12.columns
|
||||||
= f.submit 'verstuur', class: 'button'
|
= f.submit t('website.contact_form.send_button'), class: 'button'
|
||||||
br
|
|
||||||
span * Verplicht veld
|
|
||||||
.large-3.columns== @page.sidebar
|
.large-3.columns== @page.sidebar
|
||||||
|
|||||||
@@ -1,5 +1,11 @@
|
|||||||
#footer-wrap
|
#footer-wrap
|
||||||
.footer-shadow
|
.footer-shadow
|
||||||
.footer-content-container
|
.footer-content-container
|
||||||
.footer-content= render 'footer'
|
.footer-content
|
||||||
|
= yield :footer
|
||||||
|
= link_to 'disclaimer', page_path('disclaimer')
|
||||||
|
'
|
||||||
|
= link_to 'privacy', page_path('privacy')
|
||||||
|
'
|
||||||
|
= link_to 'contact', page_path('contact')
|
||||||
.footer-bottom © mozo.bar 2015
|
.footer-bottom © mozo.bar 2015
|
||||||
|
|||||||
@@ -88,3 +88,9 @@ en:
|
|||||||
color: Color
|
color: Color
|
||||||
employee_shift:
|
employee_shift:
|
||||||
description: Description
|
description: Description
|
||||||
|
cmtool/contact_form:
|
||||||
|
name: "Your name:"
|
||||||
|
body: 'Your question or remarks:'
|
||||||
|
email: "Your email:*"
|
||||||
|
male: "Mr."
|
||||||
|
female: "Ms."
|
||||||
|
|||||||
@@ -87,3 +87,9 @@ nl:
|
|||||||
color: Kleur
|
color: Kleur
|
||||||
employee_shift:
|
employee_shift:
|
||||||
description: Toelichting
|
description: Toelichting
|
||||||
|
cmtool/contact_form:
|
||||||
|
name: "Je naam:"
|
||||||
|
body: 'Je vraag of opmerking:'
|
||||||
|
email: "E-mail:*"
|
||||||
|
male: "Dhr."
|
||||||
|
female: "Mvr."
|
||||||
|
|||||||
@@ -0,0 +1,4 @@
|
|||||||
|
en:
|
||||||
|
website:
|
||||||
|
contact_form:
|
||||||
|
send_button: "Send form"
|
||||||
@@ -0,0 +1,4 @@
|
|||||||
|
nl:
|
||||||
|
website:
|
||||||
|
contact_form:
|
||||||
|
send_button: Verstuur
|
||||||
Reference in New Issue
Block a user