support: add nudge to send a screenshot

This commit is contained in:
Pierre de La Morinerie 2019-03-14 10:47:44 +00:00
parent 6c350befd5
commit 27c5d01fa4
2 changed files with 10 additions and 1 deletions

View file

@ -8,4 +8,8 @@ $contact-padding: $default-space * 2;
.description {
padding-bottom: $contact-padding;
}
.hidden {
display: none;
}
}

View file

@ -70,7 +70,12 @@
= text_area_tag :text, params[:text], rows: 6, required: true
.contact-champ
= label_tag :text, 'Pièce jointe'
= label_tag :text do
Pièce jointe
.notice.hidden{ data: { 'contact-type-only': Helpscout::FormAdapter::TYPE_AMELIORATION } }
Une capture décran peut nous aider à identifier plus facilement lendroit à améliorer.
.notice.hidden{ data: { 'contact-type-only': Helpscout::FormAdapter::TYPE_AUTRE } }
Une capture décran peut nous aider à identifier plus facilement le problème.
= file_field_tag :file
= hidden_field_tag :tags, @tags&.join(',')