refactor(dossier): has_annotations?
This commit is contained in:
parent
9b26dedab4
commit
1193c866bf
4 changed files with 7 additions and 3 deletions
|
@ -7,7 +7,7 @@
|
|||
= tab_item('le dossier',
|
||||
apercu_admin_procedure_path(@dossier.procedure, tab: 'dossier'),
|
||||
active: @tab == 'dossier')
|
||||
- if @dossier.champs_private.size > 0
|
||||
- if @dossier.has_annotations?
|
||||
= tab_item('les annotations privées',
|
||||
apercu_admin_procedure_path(@dossier.procedure, tab: 'annotations-privees'),
|
||||
active: @tab == 'annotations-privees')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue