added terms and conditions

This commit is contained in:
2015-10-18 22:54:07 +02:00
parent e968d606e5
commit aa51392d16
2 changed files with 6 additions and 2 deletions
+5 -2
View File
@@ -1,4 +1,4 @@
= render 'shared/terms_and_conditions'
h1 = title t('.title_html')
.row
.col-xs-12.col-md-7
@@ -11,7 +11,10 @@ h1 = title t('.title_html')
= f.input :email, placeholder: t('.placeholders.email')
= f.input :support, as: :radio_buttons, collection: t('support_type'), label_method: :last, value_method: :first
= f.input :age_category, as: :radio_buttons, collection: t('age_category'), label_method: :last, value_method: :first
= f.submit value: t('.submit'), class: 'btn btn-success'
.form-group
= f.submit value: t('.submit'), class: 'btn btn-success'
.form-group
= link_to t('.terms_and_conditions'),'#', data: { toggle: :modal, target: '#terms_and_conditions'}, class: 'small'
javascript:
var cities = new Bloodhound({
+1
View File
@@ -15,6 +15,7 @@ de:
form:
title_html: Ja, ich will <strong class="text-success">Cannabis</strong> in der Schweiz <strong>legalisieren</strong>
submit: Unterstützung zusichern
terms_and_conditions: Mit dem Absenden ihrer Daten stimmen Sie den Nutzungsbedingungen zu.
placeholders:
first_name: Hans
last_name: Muster