Fix a bug in the PJ PR

This commit is contained in:
gregoirenovel 2018-02-15 13:58:19 +01:00
parent 88e951f5fa
commit 5746ba29da

View file

@ -4,7 +4,7 @@
= file_field_tag "champs['#{champ.id}']",
id: "champs_#{champ.id}",
direct_upload: true,
mandatory: champ.mandatory
mandatory: champ.mandatory?
- else
%a{ href: url_for(pj), target: '_blank' }
= pj.filename.to_s