diff --git a/app/views/admin/application/property/_text.html.erb b/app/views/admin/application/property/_text.html.erb index a151c5e4fcba246298867be0fe19f49a57aa2442..3123d4350a0b73f75df8eb26376f912928a4948d 100644 --- a/app/views/admin/application/property/_text.html.erb +++ b/app/views/admin/application/property/_text.html.erb @@ -23,7 +23,7 @@ end <i class="<%= Icon::WARNING %> text-danger"></i> <%= t 'properties.text.missing' %> <% else %> - <%= strip_tags(value).truncate(200).html_safe %> + <%= sanitize value %> <% end %> </p> <% end %> \ No newline at end of file diff --git a/app/views/admin/education/programs/parts/presentation.html.erb b/app/views/admin/education/programs/parts/presentation.html.erb index 1853e4db8594614138cb70af9e5e27bbab8916e3..5b153b65e9d1c2f651b0384827cf9df09609cd15 100644 --- a/app/views/admin/education/programs/parts/presentation.html.erb +++ b/app/views/admin/education/programs/parts/presentation.html.erb @@ -31,9 +31,6 @@ <%= render 'admin/application/property/text', object: @l10n, property: :objectives %> </div> </div> -<%= osuny_separator %> -<%= render 'admin/application/a11y/widget', about: @l10n, horizontal: true %> -<%= render 'admin/communication/contents/editor', about: @l10n %> <% content_for :action_bar_right do %> <%= link_to_if can?(:edit, @program), diff --git a/app/views/admin/education/programs/show.html.erb b/app/views/admin/education/programs/show.html.erb index dc4d26bfae107bb4197b2ae295201f8da1d5a164..98ab284c570e05591c2e5352e376fc55ab5ed5cd 100644 --- a/app/views/admin/education/programs/show.html.erb +++ b/app/views/admin/education/programs/show.html.erb @@ -80,6 +80,11 @@ <%= osuny_separator %> +<%= render 'admin/application/a11y/widget', about: @l10n, horizontal: true %> +<%= render 'admin/communication/contents/editor', about: @l10n %> + +<%= osuny_separator %> + <div class="education_program_nav_in_summary"> <div class="row mb-4"> <div class="col-lg-4">