Merge pull request #2804 from betagouv/frederic/fix_2800-invalid_empty_cell_display
[Fix #2800] Handle empty cells
This commit is contained in:
commit
064b5c1d7b
1 changed files with 3 additions and 1 deletions
|
@ -106,7 +106,9 @@
|
|||
|
||||
- @procedure_presentation.displayed_field_values(dossier).each do |value|
|
||||
%td
|
||||
= link_to(value, gestionnaire_dossier_path(@procedure, dossier), class: 'cell-link')
|
||||
/ FIXME: value should automatically fallback to `""` instead of nil
|
||||
/ #get_value should call to_s on the champ
|
||||
= link_to(value || "", gestionnaire_dossier_path(@procedure, dossier), class: 'cell-link')
|
||||
|
||||
%td.status-col
|
||||
= link_to(gestionnaire_dossier_path(@procedure, dossier), class: 'cell-link') do
|
||||
|
|
Loading…
Reference in a new issue