Add a confirm before changing dossier state in manager
This commit is contained in:
parent
96b20668b7
commit
d2812a4a54
1 changed files with 1 additions and 1 deletions
|
@ -26,7 +26,7 @@ as well as a link to its edit page.
|
|||
|
||||
<div>
|
||||
<% if dossier.termine? %>
|
||||
<%= link_to 'repasser en instruction', change_state_to_instruction_manager_dossier_path(dossier), method: :post, class: 'button' %>
|
||||
<%= link_to 'Repasser en instruction', change_state_to_instruction_manager_dossier_path(dossier), method: :post, class: 'button', data: { confirm: "Repasser en instruction ?" } %>
|
||||
<% end %>
|
||||
<div>
|
||||
</header>
|
||||
|
|
Loading…
Reference in a new issue