<%= label_tag t('camaleon_cms.admin.settings.aws', default: "Save Files in AWS S3") %>
<%= check_box :options, :filesystem_type, {checked: @site.get_option("filesystem_type") == "s3"}, "s3", "local" %>
<%= label_tag t('camaleon_cms.admin.settings.filesystem_s3_access_key') %> (*)
<%= text_field :options, :filesystem_s3_access_key, :class => "form-control required", value: @site.get_option("filesystem_s3_access_key"), placeholder: 'AKIAJAwdgTSHWLAD5VGA' %>
<%= label_tag t('camaleon_cms.admin.settings.filesystem_s3_secret_key') %> (*)
<%= text_field :options, :filesystem_s3_secret_key, :class => "form-control required", value: @site.get_option("filesystem_s3_secret_key"), placeholder: 'f5T2CntRcPQBPzACBHUyvM4zEpkiZdH/77N85seBM' %>
<%= label_tag t('camaleon_cms.admin.settings.filesystem_s3_bucket_name') %> (*)
<%= text_field :options, :filesystem_s3_bucket_name, :class => "form-control required", value: @site.get_option("filesystem_s3_bucket_name"), placeholder: 'my_bucket' %>
<%= label_tag t('camaleon_cms.admin.settings.filesystem_region', default: 'filesystem_region') %> (*)
<%= text_field :options, :filesystem_region, :class => "form-control required", value: @site.get_option("filesystem_region"), placeholder: 'us-west-2' %>
<%= label_tag t('camaleon_cms.admin.settings.filesystem_s3_cloudfront', default: 'Cloudfront URL') %>
<%= text_field :options, :filesystem_s3_cloudfront, :class => "form-control", value: @site.get_option("filesystem_s3_cloudfront"), placeholder: 'https://cloudfront_id.cloudfront.net' %>