Sha256: 1ef21c81d97be5333078e167d55c737ba7ad147a3d6fd2d55c1fd2207facbbb3

Contents?: true

Size: 1.69 KB

Versions: 6

Compression:

Stored size: 1.69 KB

Contents

<div id="tab-filesystem_settings" class="<%= 'active' if 'filesystem' == params[:tab] %> tab-pane ">
    <div class="form-group">
        <%= label_tag t('camaleon_cms.admin.settings.aws', default: "Save Files in AWS3") %><br>
        <%= check_box :options, :filesystem_type, {checked: @site.get_option("filesystem_type") == "s3"}, "s3", "local" %>
    </div>

    <div class="form-group">
        <%= label_tag t('camaleon_cms.admin.settings.filesystem_s3_access_key') %><br>
        <%= text_field :options, :filesystem_s3_access_key, :class => "form-control required", value: @site.get_option("filesystem_s3_access_key") %>
    </div>
    <div class="form-group">
        <%= label_tag t('camaleon_cms.admin.settings.filesystem_s3_secret_key') %><br>
        <%= text_field :options, :filesystem_s3_secret_key, :class => "form-control required", value: @site.get_option("filesystem_s3_secret_key") %>
    </div>
    <div class="form-group">
        <%= label_tag t('camaleon_cms.admin.settings.filesystem_s3_bucket_name') %><br>
        <%= text_field :options, :filesystem_s3_bucket_name, :class => "form-control required", value: @site.get_option("filesystem_s3_bucket_name") %>
    </div>
    <div class="form-group">
        <%= label_tag t('camaleon_cms.admin.settings.filesystem_region') %><br>
        <%= text_field :options, :filesystem_region, :class => "form-control required", value: @site.get_option("filesystem_region") %>
    </div>
    <div class="form-group">
        <%= label_tag t('camaleon_cms.admin.settings.filesystem_s3_endpoint') %><br>
        <%= text_field :options, :filesystem_s3_endpoint, :class => "form-control required", value: @site.get_option("filesystem_s3_endpoint") %>
    </div>
</div>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
camaleon_cms-2.1.1 app/views/camaleon_cms/admin/settings/_file_system_settings.html.erb
camaleon_cms-2.1.0 app/views/camaleon_cms/admin/settings/_file_system_settings.html.erb
camaleon_cms-2.0.4.1 app/views/camaleon_cms/admin/settings/_file_system_settings.html.erb
camaleon_cms-2.0.4 app/views/camaleon_cms/admin/settings/_file_system_settings.html.erb
camaleon_cms-2.0.3 app/views/camaleon_cms/admin/settings/_file_system_settings.html.erb
camaleon_cms-2.0.2 app/views/camaleon_cms/admin/settings/_file_system_settings.html.erb