refactor(haml): swap - and = due to haml 6
This commit is contained in:
parent
4e082d6424
commit
59e68ab2c7
1 changed files with 4 additions and 4 deletions
|
@ -12,17 +12,17 @@
|
|||
- if @created.present?
|
||||
- if @created.coordinate.previous_sibling.present?
|
||||
= turbo_stream.after dom_id(@created.coordinate.previous_sibling, :type_de_champ_editor) do
|
||||
= render @created
|
||||
- render @created
|
||||
- else
|
||||
= turbo_stream.prepend dom_id(@created.coordinate.block, :types_de_champ_editor_block) do
|
||||
= render @created
|
||||
- render @created
|
||||
|
||||
- @morphed&.each do |champ_component|
|
||||
= turbo_stream.morph dom_id(champ_component.coordinate, :type_de_champ_editor) do
|
||||
= render champ_component
|
||||
- render champ_component
|
||||
|
||||
- if @coordinate.present?
|
||||
= turbo_stream.morph dom_id(@coordinate.revision, :estimated_fill_duration) do
|
||||
= render TypesDeChampEditor::EstimatedFillDurationComponent.new(revision: @coordinate.revision, is_annotation: @coordinate.private?)
|
||||
- render TypesDeChampEditor::EstimatedFillDurationComponent.new(revision: @coordinate.revision, is_annotation: @coordinate.private?)
|
||||
|
||||
= turbo_stream.dispatch 'sortable:sort'
|
||||
|
|
Loading…
Reference in a new issue