Little website things

This commit is contained in:
2015-02-26 05:40:17 +01:00
parent 9e9a732384
commit 97f47eb734
7 changed files with 32 additions and 14 deletions
-6
View File
@@ -1,6 +0,0 @@
= yield :footer
= link_to 'disclaimer', page_path('disclaimer')
'
= link_to 'privacy', page_path('privacy')
'
= link_to 'kernwaarden', page_path('values')
+5 -7
View File
@@ -3,20 +3,18 @@
.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: label Uw naam:
.large-2.columns= f.select :gender, [['Dhr.', 'male'], ['Mevr.', 'female']]
.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
label Uw vraag of opmerking:*
= f.label :body
br
= f.text_area :body, cols: 32, rows: 8
.row
.large-4.columns: label Uw e-mail adres:*
.large-4.columns= f.label :email
.large-8.columns.end= f.email_field :email
.row
.large-12.columns
= f.submit 'verstuur', class: 'button'
br
span * Verplicht veld
= f.submit t('website.contact_form.send_button'), class: 'button'
.large-3.columns== @page.sidebar
+7 -1
View File
@@ -1,5 +1,11 @@
#footer-wrap
.footer-shadow
.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
+6
View File
@@ -88,3 +88,9 @@ en:
color: Color
employee_shift:
description: Description
cmtool/contact_form:
name: "Your name:"
body: 'Your question or remarks:'
email: "Your email:*"
male: "Mr."
female: "Ms."
+6
View File
@@ -87,3 +87,9 @@ nl:
color: Kleur
employee_shift:
description: Toelichting
cmtool/contact_form:
name: "Je naam:"
body: 'Je vraag of opmerking:'
email: "E-mail:*"
male: "Dhr."
female: "Mvr."
+4
View File
@@ -0,0 +1,4 @@
en:
website:
contact_form:
send_button: "Send form"
+4
View File
@@ -0,0 +1,4 @@
nl:
website:
contact_form:
send_button: Verstuur