Don’t use modal for terms and conditions otherwise it will not be accessible

This commit is contained in:
2017-02-26 17:46:55 +01:00
parent 185b6d6059
commit df9bedad14
7 changed files with 16 additions and 33 deletions
+3 -3
View File
@@ -33,7 +33,8 @@
.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'
= link_to t('.terms_and_conditions'), terms_and_conditions_path, class: 'small'
javascript:
var cities = new Bloodhound({
@@ -79,5 +80,4 @@
$("#supporter_city").val(datum.city);
});
.col-md-5.col-xs-12
= render 'right_side'
= render 'shared/terms_and_conditions'
= render 'right_side'