<% provide(:title, t('problems.show.problem_subtitle', id: @problem.id)) %>

<%= @problem.title %>

<% if Problem.exists?(@problem.id-1) %> <%= link_to problem_path(@problem.id-1), title: t('problems.show.problem_subtitle', id: @problem.id-1), class: 'problem-prev' do %> <%= icon('fas', 'chevron-left') %> <% end %> <% end %> <% if Problem.exists?(@problem.id+1) %> <%= link_to problem_path(@problem.id+1), title: t('problems.show.problem_subtitle', id: @problem.id+1), class: 'problem-next' do %> <%= icon('fas', 'chevron-right') %> <% end %> <% end %>
<%= t '.problem_subtitle', id: @problem.id %>
<%= link_to new_problem_translation_path(@problem), class: 'problem-buttons-inner btn btn-primary btn-sm' do %> <%= icon('fas', 'edit') %> <%= t '.improve_translation' %> <% end %>
<%= sanitize @problem.content, scrubber: TranslationContentScrubber.new %>
<%= link_to t('.view_original_problem'), @problem.original_url, target: '_blank' %>