Add edit dossier link
[fix #4114] Signed-off-by: Chaïb Martinez <chaibax@gmail.com>
This commit is contained in:
parent
75741fca19
commit
14192916f1
4 changed files with 19 additions and 4 deletions
|
@ -9,6 +9,20 @@
|
|||
Actions
|
||||
.dropdown-content.fade-in-down
|
||||
%ul.dropdown-items
|
||||
- if !dossier.read_only?
|
||||
- if dossier.brouillon?
|
||||
%li
|
||||
= link_to(url_for_dossier(dossier)) do
|
||||
%span.icon.edit
|
||||
.dropdown-description
|
||||
Modifier le brouillon
|
||||
- else
|
||||
%li
|
||||
= link_to modifier_dossier_path(dossier) do
|
||||
%span.icon.edit
|
||||
.dropdown-description
|
||||
Modifier le dossier
|
||||
|
||||
- if has_new_dossier_action
|
||||
%li
|
||||
= link_to procedure_lien(dossier.procedure) do
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue