diff options
Diffstat (limited to 'app/helpers/newapplication_helper.rb')
| -rw-r--r-- | app/helpers/newapplication_helper.rb | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/app/helpers/newapplication_helper.rb b/app/helpers/newapplication_helper.rb index eee833562..010ff71f6 100644 --- a/app/helpers/newapplication_helper.rb +++ b/app/helpers/newapplication_helper.rb @@ -27,7 +27,11 @@ module NewapplicationHelper else item.try(attribute) end - bcont << content_tag(:td, value) + if attribute == "name" + bcont << content_tag(:td, link_to(value, item), title: 'Voir') + else + bcont << content_tag(:td, value) + end end bcont << content_tag(:td, links_builder(item, actions), class: 'actions') if actions.any? |
