diff --git a/app/views/pre_commencement_condition_validation_requests/edit.html.erb b/app/views/pre_commencement_condition_validation_requests/edit.html.erb index 9f2c1be7..a28c4ff8 100644 --- a/app/views/pre_commencement_condition_validation_requests/edit.html.erb +++ b/app/views/pre_commencement_condition_validation_requests/edit.html.erb @@ -28,14 +28,10 @@
- <%= @validation_request["condition"]["text"] %> -
+ <%= render(FormattedContentComponent.new(text: @validation_request["condition"]["text"])) %>- <%= @validation_request["condition"]["reason"] %> -
+ <%= render(FormattedContentComponent.new(text: @validation_request["condition"]["reason"])) %> <%= render 'form', request: @validation_request %> diff --git a/app/views/pre_commencement_condition_validation_requests/show.html.erb b/app/views/pre_commencement_condition_validation_requests/show.html.erb index a0f14d15..4bd0e6eb 100644 --- a/app/views/pre_commencement_condition_validation_requests/show.html.erb +++ b/app/views/pre_commencement_condition_validation_requests/show.html.erb @@ -12,14 +12,10 @@ <% else %>- <%= @validation_request["condition"]["text"] %> -
+ <%= render(FormattedContentComponent.new(text: @validation_request["condition"]["text"])) %>- <%= @validation_request["condition"]["reason"] %> -
+ <%= render(FormattedContentComponent.new(text: @validation_request["condition"]["reason"])) %> <% if @validation_request["approved"] == false %>