Skip to content

Commit

Permalink
Merge branch '2023082414-fix-overflow-text-in-client-profile' into st…
Browse files Browse the repository at this point in the history
…aging
  • Loading branch information
kirykr committed Aug 24, 2023
2 parents 48c3cb2 + e288cf5 commit 638e70b
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions app/views/clients/_referral_more_info.haml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 638e70b

Please sign in to comment.