File tree 3 files changed +3
-0
lines changed
valentine/lib/valentine_web/live/workspace_live/components
3 files changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -106,6 +106,7 @@ defmodule ValentineWeb.WorkspaceLive.Components.AssumptionComponent do
106
106
< ValentineWeb.WorkspaceLive.Components.MarkdownComponent . render text = {
107
107
@ assumption . comments
108
108
} />
109
+ < input type = "hidden " name = "comments " value = { @ assumption . comments } />
109
110
<% end %>
110
111
< . button is_primary class = "mt-2 " type = "submit " > { gettext ( "Save" ) } </ . button >
111
112
</ form >
Original file line number Diff line number Diff line change @@ -133,6 +133,7 @@ defmodule ValentineWeb.WorkspaceLive.Components.MitigationComponent do
133
133
< ValentineWeb.WorkspaceLive.Components.MarkdownComponent . render text = {
134
134
@ mitigation . comments
135
135
} />
136
+ < input type = "hidden " name = "comments " value = { @ mitigation . comments } />
136
137
<% end %>
137
138
< . button is_primary class = "mt-2 " type = "submit " > { gettext ( "Save" ) } </ . button >
138
139
</ form >
Original file line number Diff line number Diff line change @@ -105,6 +105,7 @@ defmodule ValentineWeb.WorkspaceLive.Components.ThreatComponent do
105
105
< ValentineWeb.WorkspaceLive.Components.MarkdownComponent . render text = {
106
106
@ threat . comments
107
107
} />
108
+ < input type = "hidden " name = "comments " value = { @ threat . comments } />
108
109
<% end %>
109
110
< . button is_primary class = "mt-2 " type = "submit " > { gettext ( "Save" ) } </ . button >
110
111
</ form >
You can’t perform that action at this time.
0 commit comments