2023-02-13 15:41:18 +01:00
|
|
|
%ul.fr-btns-group.fr-btns-group--sm.fr-btns-group--inline-md.fr-btns-group--icon-right.flex.justify-end.fr-mb-1w
|
2023-02-14 17:57:50 +01:00
|
|
|
= render partial: "instructeurs/procedures/dossier_actions",
|
|
|
|
locals: { procedure_id: dossier.procedure.id,
|
|
|
|
dossier_id: dossier.id,
|
2023-04-18 18:06:24 +02:00
|
|
|
dossier: dossier,
|
2023-02-14 17:57:50 +01:00
|
|
|
state: dossier.state,
|
|
|
|
archived: dossier.archived,
|
|
|
|
dossier_is_followed: current_instructeur&.follow?(dossier),
|
|
|
|
close_to_expiration: dossier.close_to_expiration?,
|
2023-02-24 15:48:29 +01:00
|
|
|
hidden_by_administration: dossier.hidden_by_administration?,
|
2023-12-07 17:32:39 +01:00
|
|
|
has_pending_correction: dossier.pending_correction?,
|
2023-12-18 12:32:27 +01:00
|
|
|
has_blocking_pending_correction: dossier.procedure.feature_enabled?(:blocking_pending_correction) && dossier.pending_correction?,
|
2023-04-18 18:06:24 +02:00
|
|
|
turbo: true,
|
|
|
|
with_menu: true }
|
2019-08-12 16:04:09 +02:00
|
|
|
|
2023-02-23 11:04:15 +01:00
|
|
|
%li.instruction-button
|
2023-04-18 15:09:02 +02:00
|
|
|
= render Instructeurs::InstructionMenuComponent.new(dossier:)
|