From e288cf54823be71c667ee59d64371062d900b392 Mon Sep 17 00:00:00 2001 From: kirykr Date: Thu, 24 Aug 2023 14:57:58 +0700 Subject: [PATCH] Updated work-break under referral_vulnerability in client profile --- app/views/clients/_referral_more_info.haml | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/app/views/clients/_referral_more_info.haml b/app/views/clients/_referral_more_info.haml index 0896c39663..44b54edef5 100644 --- a/app/views/clients/_referral_more_info.haml +++ b/app/views/clients/_referral_more_info.haml @@ -9,24 +9,25 @@ - next unless qtypes.first.visible_for_client? %tr %td.align-justify - = qtypes.first.name + %strong= qtypes.first.name %td.align-justify + %ul - qtypes.last.each do |qcase| - %strong.label.label-default - = qcase.value + %li + %strong= qcase.value - @client.client_quantitative_free_text_cases.each do |qtc_free_text| - next unless quantitative_type_readable?(qtc_free_text.quantitative_type_id) - next unless qtc_free_text.quantitative_type.try(:visible_for_client?) %tr %td.align-justify - = qtc_free_text.quantitative_type.try(:name) + %strong= qtc_free_text.quantitative_type.try(:name) %td.align-justify - %strong.label.label-default= qtc_free_text.content + %strong= qtc_free_text.content - if policy(@client).show?(:relevant_referral_information) %tr %td.spacing-first-col - = t('clients.show.relevant_referral_information') + %strong= t('clients.show.relevant_referral_information') %td %strong = editable @client, :relevant_referral_information, type: :textarea, value: @client.relevant_referral_information, url: api_client_path(@client.id), pk: @client.id