<% content_for(:title, _("Tailoring Files")) %>
<%= icon_text("key", "", :kind => "fa") %>

<%= _('Tailoring Files') %>

<%= _('It may sometimes be required to adjust the security policy to your specific needs. ') %>
<%= (_('In Foreman, tailoring_files represent the custom modifications to default XCCDF profiles and they can be applied to hosts via %s') % link_to('compliance policies', policies_path)).html_safe %>

<% proxy_check = run_tailoring_proxy_check %>
<%= new_link(_('New Tailoring File'), {}, { :class => "btn-lg", :disabled => !proxy_check.pass? }) %>

<% unless proxy_check.pass? %> <%= alert :class => 'alert-warning', :header => '', :text => proxy_check.message.html_safe %> <% end %>