=link_to'Remove header logo',header_logos_admin_appearances_path,data: {confirm: "Header logo will be removed. Are you sure?"},method: :delete,class: "btn gl-button btn-danger btn-danger-secondary btn-sm"
=link_to_('Remove header logo'),header_logos_admin_appearances_path,data: {confirm: _("Header logo will be removed. Are you sure?")},method: :delete,class: "btn gl-button btn-danger btn-danger-secondary btn-sm"
=link_to'Remove favicon',favicon_admin_appearances_path,data: {confirm: "Favicon will be removed. Are you sure?"},method: :delete,class: "btn gl-button btn-danger btn-danger-secondary btn-sm"
=link_to_('Remove favicon'),favicon_admin_appearances_path,data: {confirm: _("Favicon will be removed. Are you sure?")},method: :delete,class: "btn gl-button btn-danger btn-danger-secondary btn-sm"
%hr
%hr
=f.hidden_field:favicon_cache
=f.hidden_field:favicon_cache
=f.file_field:favicon,class: '',accept: 'image/*'
=f.file_field:favicon,class: '',accept: 'image/*'
.hint
.hint
Maximum file size is 1MB. Image size must be 32x32px. Allowed image formats are #{favicon_extension_whitelist}.
=_("Maximum file size is 1MB. Image size must be 32x32px. Allowed image formats are %{favicon_extension_whitelist}.")%{favicon_extension_whitelist: favicon_extension_whitelist}
%br
%br
Images with incorrect dimensions are not resized automatically, and may result in unexpected behavior.
=_("Images with incorrect dimensions are not resized automatically, and may result in unexpected behavior.")
=link_to'Remove logo',logo_admin_appearances_path,data: {confirm: "Logo will be removed. Are you sure?"},method: :delete,class: "btn gl-button btn-danger btn-danger-secondary btn-sm remove-logo"
=link_to_('Remove logo'),logo_admin_appearances_path,data: {confirm: _("Logo will be removed. Are you sure?")},method: :delete,class: "btn gl-button btn-danger btn-danger-secondary btn-sm remove-logo"
%hr
%hr
=f.hidden_field:logo_cache
=f.hidden_field:logo_cache
=f.file_field:logo,class: "",accept: 'image/*'
=f.file_field:logo,class: "",accept: 'image/*'
.hint
.hint
Maximum file size is 1MB. Pages are optimized for a 640x360 px logo.
=_('Maximum file size is 1MB. Pages are optimized for a 640x360 px logo.')