chore(turbo): morph all the things
This commit is contained in:
parent
af6d167516
commit
5b9e534b3f
21 changed files with 81 additions and 106 deletions
|
@ -1,3 +1,6 @@
|
|||
- if @dossier.present?
|
||||
= turbo_stream.replace_all '.invite-user-action', partial: 'invites/dropdown', locals: { dossier: @dossier }
|
||||
= turbo_stream.focus_all '.invite-user-action > button'
|
||||
- if @dossier.invites.empty?
|
||||
= turbo_stream.focus 'invite_email'
|
||||
- else
|
||||
= turbo_stream.focus_all '#invites-form ul a:first-child'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue