noesya/osuny

View on GitHub
app/views/admin/communication/websites/confirm_localization.html.erb

Summary

Maintainability
Test Coverage
<% content_for :title, t('admin.communication.website.confirm_localization.title') %>

<p>
  <%= t('admin.communication.website.confirm_localization.text_html',
      about: @about.to_s_in(current_language),
      language: language_name(current_language.iso_code),
      website: @website.to_s_in(current_language)) %>
</p>

<%= link_to t('cancel'),
            [:admin, @about, lang: @about.original_localization.language],
            class: button_classes %>

<%= link_to t('confirm'),
            [:do_confirm_localization, :admin, @website, { about: @about_gid }],
            method: :post,
            class: button_classes %>