feat(routing): fix test
This commit is contained in:
parent
8d89e2aec6
commit
6e255489a5
2 changed files with 2 additions and 1 deletions
|
@ -4,6 +4,7 @@ class Procedure::RoutingRulesComponent < ApplicationComponent
|
|||
def initialize(revision:, groupe_instructeurs:)
|
||||
@revision = revision
|
||||
@groupe_instructeurs = groupe_instructeurs
|
||||
@procedure_id = revision.procedure_id
|
||||
end
|
||||
|
||||
def rows
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
%th.delete-column
|
||||
.conditionnel.mt-2.width-100
|
||||
- rows.each.with_index do |(targeted_champ, value, groupe_instructeur), row_index|
|
||||
= form_tag admin_procedure_routing_rules_path, method: :post, class: "form width-100 gi-#{groupe_instructeur.id}" do
|
||||
= form_tag admin_procedure_routing_rules_path(@procedure_id), method: :post, class: "form width-100 gi-#{groupe_instructeur.id}" do
|
||||
%table.condition-table.mt-2.width-100
|
||||
%tbody
|
||||
%tr{ data: { controller: 'autosave' } }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue