set input value for question type of contact page

This commit is contained in:
Christophe Robillard 2020-09-16 21:41:02 +02:00
parent df9a15a224
commit 9be015752a
2 changed files with 8 additions and 0 deletions

View file

@ -25,6 +25,7 @@
= label_tag :type do
= t('your_question', scope: [:support, :question])
%span.mandatory *
= hidden_field_tag :type, params[:type]
%dl
- @options.each do |(question, question_type, link)|
%dt