From 6010d4e09685846468ed543c46dee1503c080f68 Mon Sep 17 00:00:00 2001 From: alexdbondoc17 Date: Thu, 17 Mar 2022 19:51:42 +0000 Subject: [PATCH] Fix UI for `doctrines#form` --- .../doctrine_form_component/doctrine_form_component.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/components/doctrine_form_component/doctrine_form_component.html.erb b/app/components/doctrine_form_component/doctrine_form_component.html.erb index e131a7f..5289c51 100644 --- a/app/components/doctrine_form_component/doctrine_form_component.html.erb +++ b/app/components/doctrine_form_component/doctrine_form_component.html.erb @@ -2,7 +2,7 @@
<%= hidden_field_tag :document_id, jurisprudence_id, data: { target: "doctrines.document_id" } %> - <%= hidden_field_tag :doctrine_id, nil, data: { target: "doctrines.doctrine_id" } %> + <%= hidden_field_tag :doctrine_id, doctrine.id, data: { target: "doctrines.doctrine_id" } %>