Merge pull request #2193 from betagouv/confirm-before-state-modification
Add a confirm before changing dossier state in manager
This commit is contained in:
commit
e0264e1495
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