<% if selected == :clamav_socket %>
<%= setting_text_field :antivirus_scan_target, container_class: '-wide', not_translated_label: 'ClamAV (Socket)' %>

<%= t('settings.antivirus.modes.clamav_socket_html', example: content_tag(:code, '/var/run/clamav/clamd.ctl'), ) %>

<% elsif selected == :clamav_host %>
<%= setting_text_field :antivirus_scan_target, container_class: '-wide', not_translated_label: 'ClamAV (Host)' %>

<%= t('settings.antivirus.modes.clamav_host_html', example: content_tag(:code, 'remotehost:1024'), ) %>

<% end %> <% if selected != :disabled %>
<%= setting_select :antivirus_scan_action, [ [t('settings.antivirus.actions.quarantine'), :quarantine], [t('settings.antivirus.actions.delete'), :delete], ], container_class: '-wide' %>

<%= t('settings.antivirus.actions.instructions_html', quarantine_option: t('settings.antivirus.actions.quarantine'), delete_option: t('settings.antivirus.actions.delete') ) %>

<% end %>