Skip to content

Commit

Permalink
refacto call to partial
Browse files Browse the repository at this point in the history
  • Loading branch information
E-L-T committed Jul 11, 2024
1 parent 1f10423 commit 519c7b7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/views/users/dossiers/update.turbo_stream.haml
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,5 @@
- else @ineligibilite_rules_is_computable
= turbo_stream.remove(dom_id(@dossier, :ineligibilite_rules_broken))
- if @dossier.champs.filter(&:used_by_routing_rules?).pluck(:stable_id).any? { |id| params[:dossier][:champs_public_attributes].key?("#{id}") }
= turbo_stream.update "contact_information", partial: 'shared/dossiers/update_contact_information', locals: { dossier: @dossier, procedure: @procedure }
= turbo_stream.update "contact_information" do
= render partial: 'shared/dossiers/update_contact_information', locals: { dossier: @dossier, procedure: @procedure }

0 comments on commit 519c7b7

Please sign in to comment.